exact-integer?
-- r7rs
Definition type-predicate
;
exact-integer?
(from vonuvoli
);Procedure variants:
((exact-integer) -> (true))
exact-integer
;true
;((exact-number) -> (false))
exact-number
;false
;((inexact-number) -> (false))
inexact-number
;false
;((number) -> (false))
scheme:base
-- (scheme base)
;scheme
-- (scheme)
;(exact-integer? z)
Returns
#t
ifz
is both exact and an integer; otherwise returns#f
.(exact-integer? 32) ===> #t (exact-integer? 32.0) ===> #f (exact-integer? 32/5) ===> #f
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.