Skip to content

validRange

validRange(from, to): boolean

Defined in: form/validation.ts:42

Check if two dates form a valid range (both valid and first before second) Experimental. The form validators may move to a separate forms package, or go, in the review before 1.0.

ParameterType
fromstring | undefined
tostring | undefined

boolean