cal.pub0.org/packages/features/ee/workflows/lib/isSMSAction.ts

6 lines
199 B
TypeScript
Raw Normal View History

import { WorkflowActions } from "@prisma/client";
export function isSMSAction(action: WorkflowActions) {
return action === WorkflowActions.SMS_ATTENDEE || action === WorkflowActions.SMS_NUMBER;
}