export function normalizeCityRentalHref(value) {
  const href = String(value || "").trim();
  return href && href !== "#" ? href : "";
}

export function isCityRentalExternalHref(value) {
  const href = normalizeCityRentalHref(value);
  return (
    /^https?:\/\//i.test(href)
    || /^mailto:/i.test(href)
    || /^tel:/i.test(href)
  );
}
