R
T

UseArrayIncludesComparatorFn

testeddemo

Comparator deciding whether an array element equals the searched value.

Demo

Loading demo…

Signature

ts
export type UseArrayIncludesComparatorFn<T, V>
  = (element: T, value: V, index: number, array: T[]) => boolean;

Type Parameters

T
V