Function: checkMath()
ts
function checkMath(node, ranges): MathProblem | null;Defined in: src/math.ts:200
Whether a formula can be used with kinds of dice whose totals run over these ranges: the problem, or null when there is none. It has to name each kind exactly once (so the kinds stay independent and the odds exact), come to a whole number, never divide by nothing, and stay small enough to count.
Parameters
node
ranges
readonly object[]
Returns
MathProblem | null