JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

mean

core-api


    function
    boot.janet on line 715, column 1

    (mean xs)

    Returns the mean of xs. If empty, returns NaN.


1 exampleSign in to add an example
Loading...
(mean [1 10 100])  # => 37
(mean [])          # => nan
cellularmitosisPlayground