IntoBuilder
Defined in: packages/schema/src/builders/into.ts:4
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”TIn
TOut
TWrapped
Section titled “TWrapped”TWrapped extends Type<TIn, TOut>
TInto
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new IntoBuilder<
TIn,TOut,TWrapped,TInto>(wrapped_,into_):IntoBuilder<TIn,TOut,TWrapped,TInto>
Defined in: packages/schema/src/builders/into.ts:10
Parameters
Section titled “Parameters”wrapped_
Section titled “wrapped_”TWrapped
(value) => TInto
Returns
Section titled “Returns”IntoBuilder<TIn, TOut, TWrapped, TInto>
Overrides
Section titled “Overrides”Properties
Section titled “Properties”input_
Section titled “input_”
readonlyinput_:TIn
Defined in: packages/schema/src/builders/base.ts:9
Inherited from
Section titled “Inherited from”output_
Section titled “output_”
readonlyoutput_:TInto
Defined in: packages/schema/src/builders/base.ts:10
Inherited from
Section titled “Inherited from”
readonlytype_:IntoType
Defined in: packages/schema/src/builders/base.ts:11
Inherited from
Section titled “Inherited from”validators_
Section titled “validators_”
protectedvalidators_:Validator<TInto>[]
Defined in: packages/schema/src/builders/base.ts:13
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”params
Section titled “params”Get Signature
Section titled “Get Signature”get params():
IntoTypeParams<TIn,TOut,TWrapped,TInto>
Defined in: packages/schema/src/builders/into.ts:17
Returns
Section titled “Returns”IntoTypeParams<TIn, TOut, TWrapped, TInto>
Overrides
Section titled “Overrides”Methods
Section titled “Methods”build()
Section titled “build()”build():
IntoType<TIn,TOut,TWrapped,TInto>
Defined in: packages/schema/src/builders/into.ts:32
Returns
Section titled “Returns”IntoType<TIn, TOut, TWrapped, TInto>
Overrides
Section titled “Overrides”clone()
Section titled “clone()”clone():
this
Defined in: packages/schema/src/builders/into.ts:25
Returns
Section titled “Returns”this
Overrides
Section titled “Overrides”oneOf()
Section titled “oneOf()”oneOf(
values,equal?):IntoBuilder<TIn,TOut,TWrapped,TInto>
Defined in: packages/schema/src/builders/base.ts:42
Parameters
Section titled “Parameters”values
Section titled “values”TInto[]
equal?
Section titled “equal?”(value, other) => boolean
Returns
Section titled “Returns”IntoBuilder<TIn, TOut, TWrapped, TInto>
Inherited from
Section titled “Inherited from”test()
Section titled “test()”test(
func,message?):this
Defined in: packages/schema/src/builders/base.ts:33
Parameters
Section titled “Parameters”ValidatorFunction<TInto>
message?
Section titled “message?”string
Returns
Section titled “Returns”this