External module "unsafeDecoders"
Functions
Const format
- format(pattern: RegExp): Decoder<string>
Const int
-
Parameters
Returns number
Const lengthWithin
- lengthWithin(minLength: number, maxLength: number): Decoder<string>
-
Parameters
-
minLength: number
-
maxLength: number
Returns Decoder<string>
Const max
- max(maxValue: number): Decoder<number>
Const maxLength
- maxLength(length: number): Decoder<string>
Const min
- min(minValue: number): Decoder<number>
Const minLength
- minLength(length: number): Decoder<string>
Const notEmpty
- notEmpty(value: any): string
-
Parameters
Returns string
Const within
- within(minValue: number, maxValue: number): Decoder<number>
-
Parameters
-
minValue: number
-
maxValue: number
Returns Decoder<number>