Returns whether the stream is writable.
function isWritable | Node.js stream module | Bun BuildDocsReferenceGuidesBlogDiscord/node:stream/default/isWritableFisWritable BuildDocsReferenceGuidesBlogDiscord /node:stream/default/isWritableFisWritable stream.default.isWritablefunction isWritable(stream: WritableStream | WritableStreamany>): null | boolean; @returns Referenced typesinterface WritableStreamW = any>readonly locked: booleanabort(reason?: any): Promisevoid>;close(): Promisevoid>;getWriter(): WritableStreamDefaultWriterW>;
Search the reference...
/
function
Only returns null if stream is not a valid Writable, Duplex or WritableStream.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →function isWritable | Node.js stream module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for function node:stream.default.isWritable | Bun