Constraints to be applied on arbitraries for strings

Remarks

Since 2.4.0

Hierarchy

  • StringSharedConstraints

Properties

maxLength?: number

Upper bound of the generated string length (included)

Default Value

0x7fffffff — defaulting seen as "max non specified" when defaultSizeToMaxWhenMaxSpecified=true

Remarks

Since 2.4.0

minLength?: number

Lower bound of the generated string length (included)

Default Value

0

Remarks

Since 2.4.0

Define how large the generated values should be (at max)

Remarks

Since 2.22.0

Generated using TypeDoc