Skip to main content
default.isReadable - stream - Node documentation
function default.isReadable
Unstable

Usage in Deno

import mod from "node:stream";
isReadable(stream: Readable | ReadableStream): boolean

Returns whether the stream is readable.

Parameters

stream: Readable | ReadableStream

Return Type

boolean