JanetDocsPlaygroundI'm feeling luckyGitHub sign in

first



    function
    boot.janet on line 743, 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