We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c81554a commit 540acfcCopy full SHA for 540acfc
src/Node/Stream.js
@@ -21,7 +21,7 @@ exports.onDataEitherImpl = function(left){
21
if (chunk instanceof Buffer) {
22
f(right(chunk))();
23
}
24
- else if (chunk instanceof String) {
+ else if (typeof chunk === "string") {
25
f(left(chunk))();
26
27
else {
0 commit comments