FunctionExpression class

This class defines the base class for Firestore Pipeline functions, which can be evaluated within pipeline execution.

Typically, you would not use this class or its children directly. Use either the functions like and(), equal(), or the methods on Expression (Expression.equal(), Expression.lessThan(), etc.) to construct new Function instances.

Signature:

export declare class FunctionExpression extends Expression 

Extends: Expression

Constructors

Constructor Modifiers Description
(constructor)(name, params) Constructs a new instance of the FunctionExpression class

Properties

Property Modifiers Type Description
expressionType ExpressionType

FunctionExpression.(constructor)

Constructs a new instance of the FunctionExpression class

Signature:

constructor(name: string, params: Expression[]);

Parameters

Parameter Type Description
name string
params Expression[]

FunctionExpression.expressionType

Signature:

readonly expressionType: ExpressionType;