Skip to content

StringConstraints

Extends

  • StringGenerator

Properties

format

format: "default" | "base64" | "hex" | "ascii" | "utf16" | "utf16-surrogate" | "alpha" | "lower-alpha" | "alpha-numeric" | "lower-alpha-numeric"


maxLength

maxLength: number

The maximum length of string to generate.

Inherited from

StringGenerator.maxLength


minLength

minLength: number

The minimum length of string to generate.

Inherited from

StringGenerator.minLength


size?

optional size: ArbitrarySize

Inherited from

StringGenerator.size