concat()
concat<
T
>(concatable
): (newValue
) =>T
[]
Concatenate the two given arrays together.
Type Parameters
• T
Parameters
concatable
T
[]
The second array to add to the end of the first.
Returns
Function
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]