* @see https://fetch.spec.whatwg.org/#body-unusable * @param {BodyReadable} bodyReadable * @returns {boolean}
(bodyReadable)
| 347 | * @returns {boolean} |
| 348 | */ |
| 349 | function isUnusable (bodyReadable) { |
| 350 | return util.isDisturbed(bodyReadable) || isLocked(bodyReadable) |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * @typedef {'text' | 'json' | 'blob' | 'bytes' | 'arrayBuffer'} ConsumeType |