ReadableBase.isDisturbed - Node documentation
method ReadableBase.isDisturbed

Usage in Deno

import { ReadableBase } from "node:stream";
ReadableBase.isDisturbed(stream: Readable | ReadableStream): boolean

Returns whether the stream has been read from or cancelled.

Parameters

stream: Readable | ReadableStream

Return Type

boolean