JanetDocsPlaygroundI'm feeling luckyGitHub sign in

odd?



    function
    boot.janet on line 758, column 1

    (odd? x)

    Check if x is odd.


2 examplesSign in to add an example
Loading...
(map odd? [1 2 3 4])  # => @[true false true false]
cellularmitosisPlayground
(odd? 2) # => false
(odd? nil) # throws an error
(odd? 1) # => true
(odd? "a") # => throws an error
swlkrPlayground