|Parameters||n, a number|
|Purpose||Determines if v is an integer (a whole number with not fractional parts).|
|Produces||A truth value: true (|
|Preconditions||Only one parameter (verified).|
|Postconditions||Also returns false if the parameter is not a number.|
> (integer? 1) #t > (integer? 'a) #f > (integer? 5/1) #t > (integer? 10/2) #t > (integer? 11/2) #f > (integer? 'a) #f > (integer? (list 1)) #f
Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.
This page was generated by Siteweaver on Thu Feb 22 05:48:01 2001.
This page may be found at
You may validate this page's HTML.
The source was last modified Wed Jan 31 22:40:40 2001.