ReadableBase.isDisturbed - Node documentation
method ReadableBase.isDisturbed

Usage

import { ReadableBase } from "node:stream";

Returns whether the stream has been read from or cancelled.

Parameters

stream: Readable | ReadableStream

Return Type

boolean