Compares two values and puts null and undefined first. Returns 0 if both values are null-ish or not null-ish.
null
undefined
0
nullishLast
first value
second value
Generated using TypeDoc
Compares two values and puts
null
andundefined
first. Returns0
if both values are null-ish or not null-ish.See
nullishLast