* Check if a value is a Writer (has write method). * @returns {boolean}
(value, name)
| 78 | * @returns {boolean} |
| 79 | */ |
| 80 | function hasMethod(value, name) { |
| 81 | return typeof value?.[name] === 'function'; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Parse pipeTo/pipeToSync arguments: [...transforms, writer, options?] |
no outgoing calls
no test coverage detected
searching dependent graphs…