before
before(
from,to):boolean
Defined in: form/validation.ts:33
Check if the first date is before the second date Experimental. The form validators may move to a separate forms package, or go, in the review before 1.0.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
from | string |
to | string |
Returns
Section titled “Returns”boolean