Const
Validates that the value is an instance of Temporal.PlainDate.
Unlike zPlainDate, this does not coerce strings. Use this when you expect a pre-parsed Temporal.PlainDate instance.
Temporal.PlainDate
Includes JSON Schema metadata so z.toJSONSchema() produces a correct JSON Schema.
z.toJSONSchema()
Validates that the value is an instance of Temporal.PlainDate.
Unlike zPlainDate, this does not coerce strings. Use this when you expect a pre-parsed
Temporal.PlainDateinstance.Includes JSON Schema metadata so
z.toJSONSchema()produces a correct JSON Schema.