JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

array/join

core-api


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

    (array/join arr & parts)

    Join a variable number of arrays and tuples into the first 
    argument, which must be an array. Return the modified array `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