mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
13 lines
887 B
Markdown
13 lines
887 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionAstFunctionBuilder](./kibana-plugin-plugins-expressions-public.expressionastfunctionbuilder.md) > [getArgument](./kibana-plugin-plugins-expressions-public.expressionastfunctionbuilder.getargument.md)
|
|
|
|
## 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.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getArgument: <A extends FunctionArgName<FnDef>>(name: A) => Array<FunctionArgs<FnDef>[A] | ExpressionAstExpressionBuilder> | undefined;
|
|
```
|