mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
31 lines
2.2 KiB
Markdown
31 lines
2.2 KiB
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) > [ExpressionFunction](./kibana-plugin-plugins-expressions-public.expressionfunction.md)
|
|
|
|
## ExpressionFunction class
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare class ExpressionFunction
|
|
```
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [(constructor)(functionDefinition)](./kibana-plugin-plugins-expressions-public.expressionfunction._constructor_.md) | | Constructs a new instance of the <code>ExpressionFunction</code> class |
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
| --- | --- | --- | --- |
|
|
| [accepts](./kibana-plugin-plugins-expressions-public.expressionfunction.accepts.md) | | <code>(type: string) => boolean</code> | |
|
|
| [aliases](./kibana-plugin-plugins-expressions-public.expressionfunction.aliases.md) | | <code>string[]</code> | Aliases that can be used instead of <code>name</code>. |
|
|
| [args](./kibana-plugin-plugins-expressions-public.expressionfunction.args.md) | | <code>Record<string, ExpressionFunctionParameter></code> | Specification of expression function parameters. |
|
|
| [fn](./kibana-plugin-plugins-expressions-public.expressionfunction.fn.md) | | <code>(input: ExpressionValue, params: Record<string, any>, handlers: object) => ExpressionValue</code> | Function to run function (context, args) |
|
|
| [help](./kibana-plugin-plugins-expressions-public.expressionfunction.help.md) | | <code>string</code> | A short help text. |
|
|
| [inputTypes](./kibana-plugin-plugins-expressions-public.expressionfunction.inputtypes.md) | | <code>string[] | undefined</code> | Type of inputs that this function supports. |
|
|
| [name](./kibana-plugin-plugins-expressions-public.expressionfunction.name.md) | | <code>string</code> | Name of function |
|
|
| [type](./kibana-plugin-plugins-expressions-public.expressionfunction.type.md) | | <code>string</code> | Return type of function. This SHOULD be supplied. We use it for UI and autocomplete hinting. We may also use it for optimizations in the future. |
|
|
|