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.
xxdj1/node_modules/core-js/internals/observable-forced.js

14 lines
576 B

2 years ago
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]);