UNPKG

@prelude/cmp

Version:

Cmp module.

10 lines 527 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const number_js_1 = __importDefault(require("./number.js")); /** @returns nullish comparision function; nullish value is considered lower than non-nullish. */ const nullish = (a, b) => (0, number_js_1.default)(a == null ? 0 : 1, b == null ? 0 : 1); exports.default = nullish; //# sourceMappingURL=nullish.js.map