Function fill

  • Fill with given value.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • v: T

      value

    • i: number = 0

      begin index [0]

    • I: number = x.length

      end index [|x|]

    Returns T[]

    x' | x' = x; x'[i..I] = v

Generated using TypeDoc