Skip to content
Buy me a coffee

SourceComparator

SourceComparator<T> = object["bivarianceHack"]

Defined in: src/stream/Spliterator.ts:49

Comparator typed with method-style (bivariant) parameters, so a Spliterator<T> stays covariant in T like the reference’s Comparator<? super T>; a plain function type would make every Collection invariant.

T