* @param {*} obj * @returns {obj is import('node:stream').Stream}
(obj)
| 77 | * @returns {obj is import('node:stream').Stream} |
| 78 | */ |
| 79 | function isStream (obj) { |
| 80 | return obj && typeof obj === 'object' && typeof obj.pipe === 'function' && typeof obj.on === 'function' |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * @param {*} object |
no outgoing calls
no test coverage detected
searching dependent graphs…