7 lines
149 B
JavaScript
7 lines
149 B
JavaScript
'use strict';
|
|
var symbolObservable = require('symbol-observable');
|
|
|
|
module.exports = function (fn) {
|
|
return Boolean(fn && fn[symbolObservable]);
|
|
};
|