Help Contents / Data Structure Primitives / Predicates / DigitP

DigitP achar
Digit? achar

outputs true if the input is a character in the subset of numerical digit characters. 

Examples: 

	digit? "a	;false  ;-) 
	digit? "A	;false  ;-) 
	digit? "1	;true  ;-) 
	digit? 1	;false  ;-) 
	digit? "	;true  ;-)	<= this seems to be a bug!!! 
	digit? "!	;false  ;-) 
	digit? char 13	;false  ;-) 


previous: CSymP	next: GraphP
