Skip to content

The open alternative to Salesforce, designed for AI.

341 B
Raw Blame
import { CoreObjectNameSingular } from 'twenty-shared/types';

import type { MentionSearchResult } from '@/mention/types/MentionSearchResult';

export const isWorkspaceMemberMentionSearchResult = ({
  objectNameSingular,
}: Pick<MentionSearchResult, 'objectNameSingular'>) =>
  objectNameSingular === CoreObjectNameSingular.WorkspaceMember;