Update isDuplexStream.md
This commit is contained in:
@ -10,7 +10,6 @@ const isDuplexStream = val =>
|
|||||||
val !== null &&
|
val !== null &&
|
||||||
typeof val === 'object' &&
|
typeof val === 'object' &&
|
||||||
typeof val.pipe === 'function' &&
|
typeof val.pipe === 'function' &&
|
||||||
typeof val.pipe === 'function' &&
|
|
||||||
typeof val._read === 'function' &&
|
typeof val._read === 'function' &&
|
||||||
typeof val._readableState === 'object' &&
|
typeof val._readableState === 'object' &&
|
||||||
typeof val._write === 'function' &&
|
typeof val._write === 'function' &&
|
||||||
|
|||||||
Reference in New Issue
Block a user