On this page

Function stretchNumericalArray

  • "Stretches" an array of numbers to a new length, filling in null values for the new indices.

    Parameters

    • source: number[]

      the array to stretch

    • targetLength: number

      the length to stretch to

    Returns (number | null)[]

    the stretched array with null values

Was this helpful?
SDK JS
Reference
stretchNumericalArray