UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

13 lines (12 loc) 322 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.lte = void 0; function lte(value, other) { if (!(typeof value === "string" && typeof other === "string")) { value = +value; other = +other; } return value <= other; } exports.lte = lte; exports.default = lte;