dive-math / deco / resolvePlanInput
Function: resolvePlanInput()
resolvePlanInput(
input):ResolvedPlanInput
Defined in: deco/plan.ts:145
Validate inputs and apply defaults; throws RangeError.
Parameters
input
Returns
Example
ts
resolvePlanInput({ levels, gfLow: 0.4, gfHigh: 0.85 }).ascentRate // 10