UniqueArrayConstraintsCustomCompareSelect<T, U>: UniqueArraySharedConstraints & {
    comparator: ((a: U, b: U) => boolean);
    selector: ((v: T) => U);
}

Constraints implying fully custom comparison function and selector to be applied on uniqueArray

WARNING - Imply an extra performance cost whenever you want to generate large arrays

Remarks

Since 2.23.0

Type Parameters

  • T

  • U

Generated using TypeDoc