Skip to content

The open alternative to Salesforce, designed for AI.

326 B
Raw Blame
import { isDefined } from 'twenty-shared/utils';

export const isOwnedByInstalledApplication = ({
  applicationId,
  workspaceCustomApplicationId,
}: {
  applicationId?: string | null;
  workspaceCustomApplicationId?: string | null;
}): boolean =>
  isDefined(applicationId) && applicationId !== workspaceCustomApplicationId;