Skip to content

dive-math / deco / resolvePlanInput

Function: resolvePlanInput() ​

resolvePlanInput(input): ResolvedPlanInput

Defined in: deco/plan.ts:145

Validate inputs and apply defaults; throws RangeError.

Parameters ​

input ​

PlanInput

Returns ​

ResolvedPlanInput

Example ​

ts
resolvePlanInput({ levels, gfLow: 0.4, gfHigh: 0.85 }).ascentRate // 10

Reference only — verify every fill and dive plan independently.