Type alias: FormulaDefinition<ParamDefsT, ResultT, SchemaT>¶
Ƭ FormulaDefinition<ParamDefsT
, ResultT
, SchemaT
>: ResultT
extends String
? StringFormulaDef
<ParamDefsT
> : ResultT
extends Number
? NumericFormulaDef
<ParamDefsT
> : ResultT
extends Boolean
? BooleanFormulaDef
<ParamDefsT
> : ResultT
extends Array
? ArrayFormulaDef
<ParamDefsT
, SchemaT
> : ObjectFormulaDef
<ParamDefsT
, SchemaT
>
A formula definition accepted by makeFormula.
Type parameters¶
Name | Type |
---|---|
ParamDefsT |
extends ParamDefs |
ResultT |
extends ValueType |
SchemaT |
extends Schema |