diff --git a/src/data/common.tsx b/src/data/common.tsx index d163f72..3246135 100644 --- a/src/data/common.tsx +++ b/src/data/common.tsx @@ -492,6 +492,11 @@ export function createFormulaPreview( }); } +/** + * Utility for converting a modifier into a formula. Takes the input for this formula as the base parameter. + * @param modifier The modifier to convert to the formula + * @param base An existing formula or processed DecimalSource that will be the input to the formula + */ export function modifierToFormula( modifier: WithRequired, base: T