• Checks whether the given string is a valid URL.

    Parameters

    • url: string

      String to check.

    Returns boolean

    True if the string is a valid URL.