Replicating airbnb following the atomic design principles...
Home > @nextbnb/utils > DateUtils > checkIfValidDate
Checks whether if the given date is considered valid
Signature:
static checkIfValidDate(date: Date): boolean;
Parameter | Type | Description |
---|---|---|
date | Date |
Returns:
boolean
boolean