Skip to content
Buy me a coffee

naturalCompare

naturalCompare(a, b): number

Defined in: src/util/Comparator.ts:36

Natural ordering: compareTo() if defined, otherwise numbers, strings (UTF-16 code unit order), bigints, booleans and Dates. Anything else throws ClassCastException; null throws NullPointerException.

unknown

unknown

number