Checks if the given URL is an external link.

  • Parameters

    • Optionalurl: string

      The URL to check.

    Returns boolean

    A boolean indicating whether the URL is an external link.