20 Number utilities
Useful number utilities.
(number+false? item) → boolean? |
item : any |
Returns #t if item is a number or #scheme[#f].
(integer+false? item) → boolean? |
item : any |
Returns #t if item is an integer or #scheme[#f].
(natural? item) → boolean? |
item : any |
Returns #t if item is an natural number (>= 0).
(natural+false? item) → boolean? |
item : any |
Returns #t if item is an natural number (>= 0) or #f.
A version of number->symbol that accepts and passes through #f.
A version of symbol->number that accepts and passes through #f.
A version of number->string that accepts and passes through #f.
A version of string->number that accepts and passes through #f.