Function fill$

  • Fill with given value!

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array (updated!)

    • v: T

      value

    • i: number = 0

      begin index [0]

    • I: number = x.length

      end index [|x|]

    Returns T[]

    x | x[i..I] = v

Generated using TypeDoc