Skip to main content
function dailyOvertimeMultiplier(opts): RuleEntry;
Applies a multiplier to hours beyond a daily threshold.

Parameters

opts
required

Returns

RuleEntry Only the extra portion above 1x is added (the base cost is already counted by minimizeCost).

Example

dailyOvertimeMultiplier({ after: 8, factor: 1.5 })