mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
776 B
776 B
Home > kibana-plugin-plugins-expressions-server > ExpressionAstFunctionBuilder > removeArgument
ExpressionAstFunctionBuilder.removeArgument property
Removes an (optional) argument from the function.
TypeScript will enforce that you only remove optional arguments. For manipulating required args, use replaceArgument
.
Signature:
removeArgument: <A extends OptionalKeys<FunctionArgs<FnDef>>>(name: A) => this;