Skip to content

The open alternative to Salesforce, designed for AI.

116 B
Raw Blame
export const getUrlSafely = (url: string) => {
  try {
    return new URL(url);
  } catch {
    return null;
  }
};