JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

array/join

core-api


    cfunction
    src/core/array.c on line 284, column 1

    (array/join arr & parts)

    Join `parts`, a variable number of arrays and tuples, into the 
    first argument `arr` which must be an array. Returns `arr`.


1 exampleSign in to add an example
Loading...
(let (x @["This" "is" "a"]     # Must be array.
      y @["test" "of"]       
      z  ["the" "emergency!"])  # Tuple OK for part.
  (pp (array/join x y z)))

# @["This" "is" "a" "test" "of" "the" "emergency!"]
oofoePlayground