stream.isWritable(stream)
-
stream<Writable> | <Duplex> | <WritableStream> -
返回:<boolean> | <null> - 仅当
stream不是有效的Writable、Duplex或WritableStream时才返回null。¥Returns: <boolean> | <null> - Only returns
nullifstreamis not a validWritable,DuplexorWritableStream.
返回流是否可写。
¥Returns whether the stream is writable.