Files
HRM-System/node_modules/es-toolkit/dist/compat/util/gte.mjs
2026-04-13 08:19:53 +08:00

11 lines
242 B
JavaScript

import { toNumber } from './toNumber.mjs';
function gte(value, other) {
if (typeof value === 'string' && typeof other === 'string') {
return value >= other;
}
return toNumber(value) >= toNumber(other);
}
export { gte };