Skip to content

IntoBuilder

Defined in: packages/schema/src/builders/into.ts:4

TIn

TOut

TWrapped extends Type<TIn, TOut>

TInto

new IntoBuilder<TIn, TOut, TWrapped, TInto>(wrapped_, into_): IntoBuilder<TIn, TOut, TWrapped, TInto>

Defined in: packages/schema/src/builders/into.ts:10

TWrapped

(value) => TInto

IntoBuilder<TIn, TOut, TWrapped, TInto>

Builder.constructor

readonly input_: TIn

Defined in: packages/schema/src/builders/base.ts:9

Builder.input_


readonly output_: TInto

Defined in: packages/schema/src/builders/base.ts:10

Builder.output_


readonly type_: IntoType

Defined in: packages/schema/src/builders/base.ts:11

Builder.type_


protected validators_: Validator<TInto>[]

Defined in: packages/schema/src/builders/base.ts:13

Builder.validators_

get params(): IntoTypeParams<TIn, TOut, TWrapped, TInto>

Defined in: packages/schema/src/builders/into.ts:17

IntoTypeParams<TIn, TOut, TWrapped, TInto>

Builder.params

build(): IntoType<TIn, TOut, TWrapped, TInto>

Defined in: packages/schema/src/builders/into.ts:32

IntoType<TIn, TOut, TWrapped, TInto>

Builder.build


clone(): this

Defined in: packages/schema/src/builders/into.ts:25

this

Builder.clone


oneOf(values, equal?): IntoBuilder<TIn, TOut, TWrapped, TInto>

Defined in: packages/schema/src/builders/base.ts:42

TInto[]

(value, other) => boolean

IntoBuilder<TIn, TOut, TWrapped, TInto>

Builder.oneOf


test(func, message?): this

Defined in: packages/schema/src/builders/base.ts:33

ValidatorFunction<TInto>

string

this

Builder.test