| Current Path : /usr/local/lib/node_modules/@google/gemini-cli/node_modules/es-toolkit/dist/compat/util/ |
| Current File : //usr/local/lib/node_modules/@google/gemini-cli/node_modules/es-toolkit/dist/compat/util/lte.mjs |
import { toNumber } from './toNumber.mjs';
function lte(value, other) {
if (typeof value === 'string' && typeof other === 'string') {
return value <= other;
}
return toNumber(value) <= toNumber(other);
}
export { lte };