• Check if a value already exists at an index of an array

    Type Parameters

    • T

    Parameters

    • value: T

      The value to search for

    • index: number

      index we expect the duplicate to be at

    • self: T[]

      The array containing the value we are searching for

    Returns boolean

    True if the value exists at the provided index

Generated using TypeDoc