kinetex - v1.0.0-rc.1
    Preparing search index...

    Function isHTTP

    • Check whether a URL uses HTTP or HTTPS.

      Parameters

      • url: string

        The URL to check.

      Returns boolean

      True if the protocol is "http:" or "https:".