Update isDuplexStream.md

This commit is contained in:
Angelos Chalaris
2018-10-03 22:27:46 +03:00
committed by GitHub
parent a12ae077fb
commit 127e37f245

View File

@ -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' &&