Function indexOf

  • Find first index of a value.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • v: T

      search value

    • i: number = 0

      begin index [0]

    Returns number

    index of v in x[i..] if found else -1

Generated using TypeDoc