@fremtind/jkl-datepicker-react
Version:
Jøkul react datepicker component
12 lines (11 loc) • 504 B
TypeScript
export declare function isCorrectFormat(value: string | undefined): boolean;
type ComparisonOptions = {
/**
* Kontroller om testen skal godkjennes om verdien er lik
* @default false
*/
inclusive: boolean;
};
export declare function isWithinLowerBound(value: Date | string | undefined, minDate: Date, options?: ComparisonOptions): boolean;
export declare function isWithinUpperBound(value: Date | string | undefined, maxDate: Date, options?: ComparisonOptions): boolean;
export {};