FunctionExpression
public class FunctionExpression : Expression, BridgeWrapper, @unchecked SendableRepresents a function call in a pipeline.
A FunctionExpression is an expression that represents a function call with a given name and
arguments.
FunctionExpressions are typically used to perform operations on data in a pipeline, such as
mathematical calculations, string manipulations, or array operations.
-
Creates a new
FunctionExpression.Declaration
Swift
public init(functionName: String, args: [Expression])Parameters
functionNameThe name of the function.
argsThe arguments to the function.