Type Alias Concat<A, B>

Concat<A, B>: [...A, ...B]

🦴 *utilities 💀 deprecated Will be available only as ArrayPlus.Concat in the next version

Concats two arrays or tuples.

alias of: [...A, ...B]

Type Parameters

  • A extends Readonly<unknown[]>
  • B extends Readonly<unknown[]>

ArrayPlus.Concat

type R = Concat<[1], [2, 3]> // [1, 2, 3]