Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Readable.isDisturbed
import { Readable } from "https://deno.land/std@0.164.0/node/_stream.d.ts";

Returns whether the stream has been read from or cancelled.

Parameters

stream: Readable | ReadableStream

Returns

boolean