JanetDocsPlaygroundI'm feeling luckyGitHub sign in

nat?



    cfunction
    src/core/corelib.c on line 622, column 1

    (nat? x)

    Check if x can be exactly represented as a non-negative 32 bit 
    signed two's complement integer.


1 exampleSign in to add an example
Loading...
(nat? 1)       # => true
(nat? 3.14159) # => false
cellularmitosisPlayground