SpreadJS Documentation
defineGlobalCustomFunction Method
GC.Spread.CalcEngine Namespace > Functions type : defineGlobalCustomFunction Method
The name of the function.
The function to add.
Defines a global custom function.
Syntax
var value; // Type: any
value = GC.Spread.CalcEngine.Functions.defineGlobalCustomFunction(name, fn);
function defineGlobalCustomFunction( 
   name : string,
   fn : Function
) : any;

Parameters

name
The name of the function.
fn
The function to add.
See Also

Reference

Functions type