Type Alias: MetadataFormulaDef<ContextT, ReturnT>¶
MetadataFormulaDef<
ContextT,ReturnT> =MetadataFormula<ContextT,ReturnT> |MetadataFunction<ContextT,ReturnT>
Defined in: api.ts:1980
The type of values that will be accepted as a metadata formula definition. This can either be the JavaScript function that implements a metadata formula (strongly recommended) or a full metadata formula definition (mostly supported for legacy code).
Type Parameters¶
| Type Parameter | Default type |
|---|---|
ContextT extends ExecutionContext |
ExecutionContext |
ReturnT extends PackFormulaResult |
LegacyDefaultMetadataReturnType |