/** * @tsplus pipeable-operator ImmutableArray & * @tsplus static ImmutableArray.Aspects concat * @tsplus pipeable ImmutableArray concat */ export function concat(that: ImmutableArray) { return (self: ImmutableArray): ImmutableArray => new ImmutableArray([...self.array, ...that.array]) } /** * Concatenates two ImmutableArray together * * @tsplus pipeable-operator ImmutableArray + */ export function concatOperator(that: ImmutableArray) { return (self: ImmutableArray): ImmutableArray => self.concat(that) }