mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
887 B
887 B
Home > kibana-plugin-plugins-expressions-server > ExpressionAstFunctionBuilder > getArgument
ExpressionAstFunctionBuilder.getArgument property
Retrieves an existing argument by name. Useful when you want to retrieve the current array of args and add something to it before calling replaceArgument
. Any subexpression arguments will be returned as expression builder instances.
Signature:
getArgument: <A extends FunctionArgName<FnDef>>(name: A) => Array<FunctionArgs<FnDef>[A] | ExpressionAstExpressionBuilder> | undefined;