isChannel: Check prototype directly.

This commit is contained in:
David Braun 2017-10-30 15:17:06 -04:00
parent 3265a5472e
commit 615f9914ee
No known key found for this signature in database
GPG key ID: 5694EEC4D129BDCF

View file

@ -353,7 +353,7 @@ Channel.from = (values, mapfn, thisArg) => {
};
Channel.of = (...values) => Channel.from(values);
Channel.isChannel = arg => prototype.isPrototypeOf(arg);
Channel.isChannel = arg => Object.getPrototypeOf(arg) === prototype;
Channel.select = methodPromises =>
Object.assign(