diff --git a/lib/index.js b/lib/index.js index 7e2c384..0eecf99 100644 --- a/lib/index.js +++ b/lib/index.js @@ -394,8 +394,10 @@ Channel.from = (values, mapfn, thisArg) => { Channel.of = (...values) => Channel.from(values); -Channel.isChannel = arg => - arg !== undefined && arg !== null && Object.getPrototypeOf(arg) === prototype; +Channel.isChannel = value => + value !== undefined && + value !== null && + Object.getPrototypeOf(value) === prototype; Channel.select = methodPromises => { if (!Array.isArray(methodPromises)) {