UniqueArrayConstraintsRecommended<T, U>: UniqueArraySharedConstraints & {
    comparator?: "SameValue" | "SameValueZero" | "IsStrictlyEqual";
    selector?: ((v: T) => U);
}

Constraints implying known and optimized comparison function to be applied on uniqueArray

Remarks

Since 2.23.0

Type Parameters

  • T

  • U

Generated using TypeDoc