registerFunction method
Registers a custom fn under name (case-insensitive) for formulas in
this workbook. Re-registering a name replaces it. A custom function never
shadows a built-in of the same name.
Implementation
void registerFunction(String name, ExcelFunction fn) {
_excel._customFunctions[name.toUpperCase()] = fn;
}