Skip to content

Function: calculatePhaseElapsed()

function calculatePhaseElapsed(phaseStartTime): number;

Defined in: shared/src/helper/pomodoroHelper/pomodoroFunctions.ts:36

Calculate elapsed time in current phase (in seconds)

ParameterType
phaseStartTimenumber | null

number