concat()
concat<
T>(concatable): (newValue) =>T[]
Concatenate the two given arrays together.
Type Parameters
T
T
The type of array elements.
Parameters
concatable
T[]
The second array to add to the end of the first.
Returns
(
newValue):T[]
Parameters
newValue
T[]
Returns
T[]
Remarks
pure function
Example
import { concat } from '@accelint/core';
concat([1, 2, 3])([4, 5, 6]);
// [1, 2, 3, 4, 5, 6]