IntP

Help Contents Data Structure Primitives Predicates IntP
CharP Int16P

IntP thing
Int? thing


outputs TRUE if the input is a integer (32 bit), FALSE otherwise.

Examples:

int? 1234		;true  ;-)
int? 1.2		;false  ;-)
int? -IntMax		;true  ;-)
int? int 1.2		;true  ;-)
int? [1]		;false  ;-)
int? {1}		;false  ;-)
int? "1		;false  ;-)
int? int "1		;true  ;-)

Reference:

CharP Int16P