Skip to content

Interface: StringOptions ​

WARNING

This API is experimental and may change in future versions.

Options for the string combinator.

Extends ​

Signature ​

ts
interface StringOptions extends BaseOptions

Properties ​

NameTypeDescription
maxLength (optional)numberMaximum string length.
minLength (optional)numberMinimum string length.
pattern (optional)RegExpRegular expression pattern the value must match.

Released under the MIT License.