(body)
| 1330 | return null; |
| 1331 | } |
| 1332 | function isDestroyed(body) { |
| 1333 | var _a; |
| 1334 | return body && !!(body.destroyed || body[kDestroyed] || ((_a = stream.isDestroyed) == null ? void 0 : _a.call(stream, body))); |
| 1335 | } |
| 1336 | function destroy(stream2, err) { |
| 1337 | if (stream2 == null || !isStream(stream2) || isDestroyed(stream2)) { |
| 1338 | return; |