JanetDocsPlaygroundI'm feeling luckyGitHub sign in

interpose



    function
    boot.janet on line 1665, 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]
KrasjetPlayground
(interpose 0 [1 2 3])
# -> @[1 0 2 0 3]
KrasjetPlayground