Function splitAt

  • Break array considering indices as separator.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • is: number[]

      indices (sorted)

    Returns T[][]

    [x[j..k], x[l..m], ...] | ft(x[i]) = true; i = 0..j / k..l / ...; i ∈ is

Generated using TypeDoc