4 lines
No EOL
202 B
JavaScript
4 lines
No EOL
202 B
JavaScript
export default function isDateAllowed(date, min, max, allowedFn) {
|
|
return (!allowedFn || allowedFn(date)) && (!min || date >= min) && (!max || date <= max);
|
|
}
|
|
//# sourceMappingURL=isDateAllowed.js.map
|