(stream)
| 180 | } |
| 181 | |
| 182 | function isWritable(stream) { |
| 183 | if (stream && stream[kIsWritable] != null) return stream[kIsWritable]; |
| 184 | if (typeof stream?.writable !== 'boolean') return null; |
| 185 | if (isDestroyed(stream)) return false; |
| 186 | return isWritableNodeStream(stream) && |
| 187 | stream.writable && |
| 188 | !isWritableEnded(stream); |
| 189 | } |
| 190 | |
| 191 | function isFinished(stream, opts) { |
| 192 | if (!isNodeStream(stream)) { |
no test coverage detected
searching dependent graphs…