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