JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

first

core-api


    function
    boot.janet on line 832, column 1

    (first xs)

    Get the first element from an indexed data structure.


See also:lasttake2 examplesSign in to add an example
Loading...
(first [])  # => nil
(first "abc")  # => 97
AndriamanitraPlayground
(first [4 5 6])  # => 4
cellularmitosisPlayground