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