Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/arrays/doesArrayIndexContainValue

Index

Functions

Functions

Const uniqueArrayFilter

  • uniqueArrayFilter<T>(value: T, index: number, self: T[]): boolean
  • 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