Skip to content

@graphty/graphty-element / catalog / FunctionDescriptor

Interface: FunctionDescriptor ​

Defined in: graphty-element/src/catalog/types.ts:868

One function the expression grammar accepts.

Nothing produces one yet: it is returned only by the deprecated CatalogApi.functions(), and goes with it at the next major release unless that is implemented first (issue #332).

Properties ​

arity ​

arity: [number, number]

Defined in: graphty-element/src/catalog/types.ts:871

The smallest and largest argument count accepted.


description ​

description: string

Defined in: graphty-element/src/catalog/types.ts:872


name ​

name: string

Defined in: graphty-element/src/catalog/types.ts:869


returns ​

returns: "string" | "number" | "boolean"

Defined in: graphty-element/src/catalog/types.ts:873