Skip to main content
Version: 2.x

Expression type

@microsoft/fast-element > Expression

Expression type

The signature of an arrow function capable of being evaluated against source data and within an execution context.

Signature:

export declare type Expression<TSource = any, TReturn = any, TParent = any> = (source: TSource, context: ExecutionContext<TParent>) => TReturn;

References: ExecutionContext