[]
        
(Showing Draft Content)

GC.Spread.CalcEngine.Functions

Namespace: Functions

Spread.CalcEngine.Functions

Table of contents

Enumerations

Classes

Interfaces

Functions

Functions

defineGlobalCustomFunction

defineGlobalCustomFunction(name, fn): Function

Defines a global custom function.

Parameters

Name Type Description
name string The name of the function.
fn Function The function to add.

Returns

Function


findGlobalFunction

findGlobalFunction(name?): any

Gets all of the global functions or one global function that specified by name.

Parameters

Name Type Description
name? string The name of the function.

Returns

any

If the name is empty, return all of the global functions, otherwise, return one function with the specified name.


removeGlobalFunction

removeGlobalFunction(name?): void

If the name is empty, remove all of the global functions, otherwise, remove one function with the specified name.

Parameters

Name Type Description
name? string The name of the function.

Returns

void