JanetDocsPlaygroundI'm feeling luckyGitHub sign in

sum



    function
    boot.janet on line 595, column 1

    (sum xs)

    Returns the sum of xs. If xs is empty, returns 0.


1 exampleSign in to add an example
Loading...
(+ 1 2 3)      # => 6
(sum [1 2 3])  # => 6
cellularmitosisPlayground