Applesauce
    Preparing search index...

    Function getURLHostname

    • Returns the canonical hostname of an absolute URL

      Parameters

      • url: string | URL

      Returns string

      if a string input is not a valid absolute URL