Package io.keikai.axyra.sheets.formula
Class Functions
java.lang.Object
io.keikai.axyra.sheets.formula.Functions
Queries the engine's catalog of built-in Excel-compatible functions. These
calls are stateless; no workbook is needed. Functions registered with
Workbook.registerFunction or Workbook.registerTypedFunction
are not part of the catalog.
if (!Functions.contains("XLOOKUP")) { ... }
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanWhether a built-in function has this name, ignoring case.static intcount()The number of built-in functions; equal tolist().length.static String[]list()The upper-case names of every built-in function, sorted alphabetically, without the_xlfn.prefix.
-
Method Details
-
count
public static int count()The number of built-in functions; equal tolist().length. -
contains
Whether a built-in function has this name, ignoring case. User-defined functions are not included. The file prefix_xlfn.is not accepted: pass"XLOOKUP", not"_xlfn.XLOOKUP".- Parameters:
name- the function name without parentheses- Returns:
trueif the engine evaluates this function
-
list
The upper-case names of every built-in function, sorted alphabetically, without the_xlfn.prefix.- Returns:
- a new array on each call
-