UNPKG

@prelude/cmp

Version:

Cmp module.

5 lines 263 B
import number from './number.js'; /** @returns nullish comparision function; nullish value is considered lower than non-nullish. */ const nullish = (a, b) => number(a == null ? 0 : 1, b == null ? 0 : 1); export default nullish; //# sourceMappingURL=nullish.js.map