This works just like NumberConstraint but checks the length of the given value for an expected array. If not a detailed Zod Error is thrown also utilizing the identifier for context.

Implements

Constructors

Properties

Methods

Constructors

Properties

max?: number
min?: number

Methods