MaxLength<N> is a type tag that validates string values have at most the
specified number of characters. Apply it to string properties using
TypeScript intersection types.
This constraint is commonly combined with MinLength to define a valid
length range. Multiple length constraints can be applied to the same property
(all must pass).
The constraint is enforced at runtime by typia.is(), typia.assert(), and
typia.validate(). It generates maxLength in JSON Schema output.
String maximum length constraint.
MaxLength<N>is a type tag that validates string values have at most the specified number of characters. Apply it tostringproperties using TypeScript intersection types.This constraint is commonly combined with MinLength to define a valid length range. Multiple length constraints can be applied to the same property (all must pass).
The constraint is enforced at runtime by
typia.is(),typia.assert(), andtypia.validate(). It generatesmaxLengthin JSON Schema output.