• Checks if a URL begins with a supported protocol (http, https, or ftp).

    Parameters

    • url: string

      URL string to check

    Returns boolean

    True if the URL has a supported protocol