Skip to main content
function assignTogether(memberIds, opts?): RuleEntry;
Members work the same shifts on days they are both assigned.

Parameters

memberIds
required
[string, string, ...string[]]

Returns

RuleEntry

Example

assignTogether(["alice", "bob"])
assignTogether(["alice", "bob", "charlie"], { priority: "HIGH" })