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

    Function isText

    • Check whether a Content-Type value represents a text-based response.

      Parameters

      • contentType: string | null

        The Content-Type header value (or null).

      Returns boolean

      True if the top-level media type is "text".