JanetDocsI'm feeling luckyGitHub sign in

interpose



    function
    boot.janet on line 1495, column 1

    (interpose sep ind)

    Returns a sequence of the elements of ind separated by sep. Returns a
    new array.


2 examplesSign in to add an example
Loading...
(interpose 0 [1])
# -> @[1]
Krasjet
(interpose 0 [1 2 3])
# -> @[1 0 2 0 3]
Krasjet