Function resize$

  • Resize an array to given length!

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • n: number

      new length

    • vd: T

      default value

    Returns T[]

    resized x

Generated using TypeDoc