Const
Validates that the value is an instance of Temporal.Instant.
Unlike zInstant, this does not coerce strings or Date objects. Use this when you expect a pre-parsed Temporal.Instant instance.
Date
Temporal.Instant
Includes JSON Schema metadata so z.toJSONSchema() produces a correct JSON Schema.
z.toJSONSchema()
Validates that the value is an instance of Temporal.Instant.
Unlike zInstant, this does not coerce strings or
Dateobjects. Use this when you expect a pre-parsedTemporal.Instantinstance.Includes JSON Schema metadata so
z.toJSONSchema()produces a correct JSON Schema.