JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

dec

core-api


    function
    boot.janet on line 138, column 1

    (dec x)

    Returns x - 1.


1 exampleSign in to add an example
Loading...
(dec 42)  # => 41
(map dec [1 2 3])  # => @[0 1 2]
cellularmitosisPlayground