[]
Spread.CalcEngine.Functions
▸ defineGlobalCustomFunction(name
, fn
): Function
Defines a global custom function.
Name | Type | Description |
---|---|---|
name |
string |
The name of the function. |
fn |
Function |
The function to add. |
▸ findGlobalFunction(name?
): any
Gets all of the global functions or one global function that specified by name.
Name | Type | Description |
---|---|---|
name? |
string |
The name of the function. |
any
If the name is empty, return all of the global functions, otherwise, return one function with the specified name.
▸ removeGlobalFunction(name?
): void
If the name is empty, remove all of the global functions, otherwise, remove one function with the specified name.
Name | Type | Description |
---|---|---|
name? |
string |
The name of the function. |
void