Skip to main content
function minDaysPerWeek(days, opts?): RuleEntry<"min-days-week", object & EntityOnlyRuleOptions>;
Enforces a minimum number of assigned days per scheduling week.

Parameters

days
number
required

Returns

RuleEntry<"min-days-week", object & EntityOnlyRuleOptions> Use this when the requirements explicitly require a weekly minimum. Language like “works a 4-day week” often implies a hard cap via maxDaysPerWeek and possibly a softer target via targetDaysPerWeek, not a mandatory weekly minimum for every member.