JanetDocsI'm feeling luckyGithub sign in

odd?



    function
    boot.janet on line 83, 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]
cellularmitosis
(odd? 2) # => false
(odd? nil) # throws an error
(odd? 1) # => true
(odd? "a") # => throws an error
swlkr