SheetXL - v0.3.20
    Preparing search index...

    Interface IModule

    Represents a collection of functions. This is analogous to a file.

    interface IModule {
        addListeners(listeners: IListeners, options?: IListener.Options): Remove;
        delete(): void;
        getErrors(): any[];
        getFunctions(): IFunctionCollection;
        getLanguage(): string;
        getSource(): string;
        toJSON(): CompiledModule;
    }
    Index

    Methods

    • Remove the module from the collection.

      Returns void

    • Returns any[]

    • Returns the functions in the module.

      Returns IFunctionCollection

      This maybe be empty even if there is source. It is possible that a script might contain only comments or other non-executable code.

    • The language the function is written in.

      Returns string

    • The human-readable source code of the script.

      Returns string

      If this property is null, the module may still have compiled functions.

    • Returns a JSON representation of the module.

      Returns CompiledModule