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

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

Type Parameters

  • T
  • U

Type declaration

Since 2.23.0