SketchyLISP Reference |
Copyright (C) 2007 Nils M Holm |
<<[char-lower-case?] | [Index] | [char-upcase]>> |
Conformance: R5RS Scheme
Purpose: Test whether a char is numeric.
Arguments:
X - char
Implementation:
(define (char-numeric? x) (and (char<=? #\0 x) (char<=? x #\9)))
Example:
(char-numeric? #\5) => #t
See also:
char-lower-case?,
char-alphabetic?,
char-whitespace?.
<<[char-lower-case?] | [Index] | [char-upcase]>> |