SheetXL - v0.3.20
    Preparing search index...

    Interface IFunction

    Provides interfaces for defining and working with functions at runtime, including metadata for function declarations and execution scripts.

    interface IFunction {
        get isIFunction(): true;
        execute<T = any>(...args: any[]): T;
        getContext(): string;
        getDeclaration(): IFunction.IDeclaration;
        getDescriptor(locale?: string): Promise<IFunction.IDescriptor>;
        getName(): string;
        isBuiltIn(): boolean;
    }
    Index

    Accessors

    • get isIFunction(): true

      For runtime reflection.

      Returns true

    Methods

    • Execute the function

      Type Parameters

      • T = any

      Parameters

      • ...args: any[]

      Returns T

    • Returns the context in which the function is executed.

      Returns string

      Not all functions have a context.

    • The name of the function.

      Returns string

    • Indicates whether the function is a built-in function.

      Returns boolean