ExpressionType
Defined in: packages/schema/src/types/expression.ts:75
Extends
Section titled “Extends”Type<Value,IExpression<TOut>>
Type Parameters
Section titled “Type Parameters”TOut
TWrapped
Section titled “TWrapped”TWrapped extends Type<Value, TOut> & IExpressionValueType<TOut>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ExpressionType<
TOut,TWrapped>(__namedParameters):ExpressionType<TOut,TWrapped>
Defined in: packages/schema/src/types/expression.ts:81
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”ExpressionTypeParams<TOut, TWrapped>
Returns
Section titled “Returns”ExpressionType<TOut, TWrapped>
Overrides
Section titled “Overrides”Properties
Section titled “Properties”input_
Section titled “input_”
readonlyinput_:Value
Defined in: packages/schema/src/types/base.ts:34
Inherited from
Section titled “Inherited from”output_
Section titled “output_”
readonlyoutput_:IExpression
Defined in: packages/schema/src/types/base.ts:35
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”wrapped
Section titled “wrapped”Get Signature
Section titled “Get Signature”get wrapped():
TWrapped
Defined in: packages/schema/src/types/expression.ts:86
Returns
Section titled “Returns”TWrapped
Methods
Section titled “Methods”parse()
Section titled “parse()”parse(
value,ctx):Result<IExpression<TOut>,SchemaError>
Defined in: packages/schema/src/types/base.ts:58
Parameters
Section titled “Parameters”Value | undefined
Returns
Section titled “Returns”Result<IExpression<TOut>, SchemaError>
Inherited from
Section titled “Inherited from”parse_()
Section titled “parse_()”
protectedparse_(value,ctx):Result<IExpression<TOut>,SchemaError>
Defined in: packages/schema/src/types/expression.ts:90
Parameters
Section titled “Parameters”Value | undefined
Returns
Section titled “Returns”Result<IExpression<TOut>, SchemaError>
Overrides
Section titled “Overrides”validate_()
Section titled “validate_()”
protectedvalidate_(value):Result<void,string>
Defined in: packages/schema/src/types/base.ts:48
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Result<void, string>