4irbnb

Replicating airbnb following the atomic design principles...

View the Project on GitHub kokiebisu/4irbnb

Home > @nextbnb/utils > DateUtils > checkIfValidDate

DateUtils.checkIfValidDate() method

Checks whether if the given date is considered valid

Signature:

static checkIfValidDate(date: Date): boolean;

Parameters

Parameter Type Description
date Date  

Returns:

boolean

boolean