Stone.js API
    Preparing search index...
    • Whether a content type is textual (and can be safely decoded to a string).

      Parameters

      • contentType: string

        The content-type header value.

      Returns boolean

      True for textual payloads.