@inkline/inkline
Version:
Inkline is the Vue.js UI/UX Library built for creating your next design system
11 lines • 348 B
JavaScript
export function min(value, options = { value: 0 }) {
if (value === undefined || value === null) {
return false;
}
const process = (v) => Number(v);
if (Array.isArray(value)) {
return value.every((v) => process(v) >= options.value);
}
return process(value) >= options.value;
}
//# sourceMappingURL=min.mjs.map