Skip to content

The open alternative to Salesforce, designed for AI.

153 B
Raw Blame
export const findById = <T extends { id: string }>(idToMatch: string) => {
  return (itemToFind: T) => {
    return itemToFind.id === idToMatch;
  };
};