You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
576 B
13 lines
576 B
var global = require('../internals/global'); |
|
var isCallable = require('../internals/is-callable'); |
|
var wellKnownSymbol = require('../internals/well-known-symbol'); |
|
|
|
var $$OBSERVABLE = wellKnownSymbol('observable'); |
|
var NativeObservable = global.Observable; |
|
var NativeObservablePrototype = NativeObservable && NativeObservable.prototype; |
|
|
|
module.exports = !isCallable(NativeObservable) |
|
|| !isCallable(NativeObservable.from) |
|
|| !isCallable(NativeObservable.of) |
|
|| !isCallable(NativeObservablePrototype.subscribe) |
|
|| !isCallable(NativeObservablePrototype[$$OBSERVABLE]);
|
|
|