We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3199c46 commit 372bb73Copy full SHA for 372bb73
index.js
@@ -1,5 +1,5 @@
1
module.exports = function combineLatest (streams) {
2
- var isObj = !Array.isArray(streams)
+ var isObj = !Array.isArray(streams) && typeof streams !== 'function'
3
if (!Array.isArray(streams) && !(isObj)) {
4
streams = [].slice.call(arguments)
5
}
0 commit comments