FisWritable
Bun

function

stream.default.isWritable

function isWritable(
stream: Writable | WritableStream
): null | boolean;

Returns whether the stream is writable.

@returns

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