JanetDocsI'm feeling luckyGithub sign in

distinct



    function
    boot.janet on line 1407, column 1

    (distinct xs)
    
    Returns an array of the deduplicated values in xs.


1 exampleSign in to add an example
Loading...
(distinct [1 1 2 3])  # => @[1 2 3]

(distinct "hello")  # => @[104 101 108 111]
(string/from-bytes (splice (distinct "hello")))  # => "helo"
cellularmitosis