Skip to content

The open alternative to Salesforce, designed for AI.

149 B
Raw Blame
export const turnIntoUndefinedIfWhitespacesOnly = (
  value: string,
): string | undefined => {
  return value.trim() === '' ? undefined : value;
};