Function: wouldExceedCap()
wouldExceedCap(capHours, usedHours, newHours): boolean
Defined in: src/lib/leave/index.ts:16
Would approving newHours of holiday push the contractor past their annual cap?
Parameters
capHours
number | null
usedHours
number
newHours
number
Returns
boolean