FisWritable
Bun

function

stream.default.isWritable

function isWritable(
stream: WritableStream | WritableStream<any>
): null | boolean;

Returns whether the stream is writable.

@returns

Only returns null if stream is not a valid Writable, Duplex or WritableStream.

Referenced types

interface WritableStream<W = any>