Skip to content

Latest commit

 

History

History
82 lines (42 loc) · 1.37 KB

StringOptionsBase.md

File metadata and controls

82 lines (42 loc) · 1.37 KB

betterbeDocs


betterbe / StringOptionsBase

Interface: StringOptionsBase

Properties

alphabet?

optional alphabet: string

Defined in

src/string.ts:15


maxLength?

optional maxLength: number

Defined in

src/string.ts:13


minLength?

optional minLength: number

Defined in

src/string.ts:12


oneOf?

optional oneOf: undefined

Defined in

src/string.ts:26


pattern?

optional pattern: RegExp

Defined in

src/string.ts:14


required?

optional required: boolean

Default is true

Defined in

src/string.ts:19


test?

optional test: TestFunction<string>

Expects a function that receives the string value and throws an Error if it is invalid.

Defined in

src/string.ts:24