Type alias EqualityFunction<T>

EqualityFunction<T>: SortedArrayEqualityFunction<T>

Type of an equality function that can be used in constructing and configuring a SortedArray instance.

Equality functions accept two inputs and return a truthy value when they are identical a falsey value when they are not.

See also SortedArray.DefaultEqualityFunction. This is the default function that is used for a SortedArray when none is explicitly provided.

Type Parameters

  • T

Generated using TypeDoc