4 lines
202 B
JavaScript
4 lines
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
|