Skip to content

validDateFormat

validDateFormat(value): boolean

Defined in: form/validation.ts:12

Check if a string matches the required date format (YYYY-MM-DD) Experimental. The form validators may move to a separate forms package, or go, in the review before 1.0.

ParameterType
valuestring | undefined

boolean