ee/packages/license/src/validation/isBehaviorsInResult.ts
import type { BehaviorWithContext, LicenseBehavior } from '@rocket.chat/core-typings';
export const isBehaviorsInResult = (result: BehaviorWithContext[], expectedBehaviors: LicenseBehavior[]) =>
result.some(({ behavior }) => expectedBehaviors.includes(behavior));