Skip to content

Plugin.registerGlobalFunc method

Plugin › registerGlobalFunc

Unofficial

Registers a global Bases formula function, such as now(), unregistered automatically on unload. A function registered under the name of an existing one replaces it, and unloading removes the name.

Signature:

registerGlobalFunc(func: FormulaFunction): void

Parameters:

ParameterTypeDescription
funcFormulaFunctionThe function to register.

Returns: void