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

    Function isBinary

    • Check whether a Content-Type represents binary (neither text nor JSON).

      Parameters

      • contentType: string | null

        The Content-Type header value (or null).

      Returns boolean

      True if the content is neither text nor JSON.