deno.com

method Stream.Readable.isDisturbed

#Readable.isDisturbed(stream: Readable | ReadableStream): boolean

Returns whether the stream has been read from or cancelled.

Parameters #

#stream: Readable | ReadableStream

Return Type #

boolean