ConstCreates a validator that validates the input array has the given maximum length.
The maximum number of elements (inclusive)
Creates a validator that validates the input array has the given minimum length.
The minimum number of elements (inclusive)
Creates a validator that asserts that the input is an array.
Note: arrays can only be readonly by type system, there is no native readonly js array. This validator assumes mutability, use the ArraySchema readonly() method to cast to a readonly array.