Function reference
Built In helpers
The helpers the in-game Functions tab lists as Built In. Public ones are called by name; the others are bound as a dependency (choose the completion, or add it under Dependencies) and called by their qualified name.
31 of 240 helpers. Clear filters
Functions. public | Call an observation once per cache and exact argument tuple, including nil results. |
|---|---|
Functions. public | Cache an observation after it returns a non-nil value; retry observations whose entire return tuple is nil. |
Functions. public | Remove entries in place, preserving only keys listed among except values by default. |
Functions. public | Visit entries in both tables and compare each value with the indexed value in the other table using Lua equality. |
Functions. public | Create a shallow filtered copy despite the historical deepcopy name. |
Functions. public | Return the first key whose value equals the supplied value during pairs traversal. |
Functions. public | Collect table keys and sort them by their associated values using Lua less-than comparison. |
Functions. public | Insert each value visited by ipairs at its corresponding leading index in the destination array. |
Functions. public | Create an iterator over a sorted snapshot of table keys. |
Functions. public | Count all entries visited by pairs, including false values and sparse numeric or nonnumeric keys. |
Functions. public | Copy a table using tostring of each original key as the destination key. |
Functions. public | Calculate a checked health-history rate using an explicit finite window and clock. |
Functions. dependency | Checks that a number used by Functions.forecast.calculate is readable and finite. |
Functions. dependency | Reads object[key] for Functions.forecast.calculate without letting a restricted value, a non-table object or an index error escape. |
Functions. public | Format comparison wording with named Boolean alternatives when the operator has a negative form. |
Functions. public | Return a present value unchanged, or a red display placeholder for nil. |
Functions. public | Look up a table key for display, preserving non-nil results; invalid tables, missing keys and nil keys use nullable placeholder text. |
Functions. public | Create a transient named condition summary. |
Functions. public | Choose the supplied player value only for the literal player unit token; every other unit selects the nonplayer value. |
Functions. public | Create a typed comparison predicate for a named condition phrase. |
Functions. public | Test a literal byte suffix using a Lua string slice. |
Functions. public | Split a string into nonempty runs between separator characters. |
Functions. public | Test a literal byte prefix using a Lua string slice. |
Functions. public | Remove leading and trailing Lua-pattern whitespace from a string. |
Functions. public | Wrap text at whitespace boundaries near a target column count. |
Functions. public | Estimate signed health change from weighted damage and healing history. |
Functions. public | Run the historical health-snapshot trend formula using the live profile history window, clock and legacy rounding service. |
Functions. public | Compare two values using an RM operator identifier: LESSTHAN, LESSTHANOREQUALS, GREATERTHAN, GREATERTHANOREQUALS, EQUALS, NOTEQUALS or DIVISIBLE. |
Functions. public | Check whether a table has a non-nil value at a key. |
Functions. public | Apply the legacy integer or canonical numeric-string spelling test. |
Functions. public | Round with the existing floor(num * 10^places + 0.5) / 10^places formula. |
