FisReadable
Bun

function

stream.default.isReadable

function isReadable(
stream: ReadableStream | ReadableStream<any>
): null | boolean;

Returns whether the stream is readable.

@returns

Only returns null if stream is not a valid Readable, Duplex or ReadableStream.

Referenced types

interface ReadableStream<R = any>