Overview
Thectx.utils object provides utility functions for common data transformations and normalizations. These helpers make it easier to work with URLs, strings, and other data types in your formulas.
Available Utilities
ensureHttp()
Ensure a URL has a protocol (http or https). If the URL already has a protocol, it is returned unchanged. Otherwise,https:// is prepended.
url- The URL to normalize
normalizeUrl()
Normalize a URL by removing the protocol,www., paths, and query parameters. This is useful for deduplication and comparison.
url- The URL to normalize