JanetDocsPlaygroundI'm feeling luckyGitHub sign in

identity



    function
    boot.janet on line 667, column 1

    (identity x)

    A function that returns its argument.


1 exampleSign in to add an example
Loading...
(filter identity [1 true 2 3 nil 4 false])
# => @[1 true 2 3 4]
leobmPlayground