wallet-core/node_modules/is-observable/index.js

5 lines
186 B
JavaScript
Raw Normal View History

2017-05-28 00:38:50 +02:00
'use strict';
2017-12-27 19:33:54 +01:00
const symbolObservable = require('symbol-observable').default;
2017-05-28 00:38:50 +02:00
2017-12-27 19:33:54 +01:00
module.exports = value => Boolean(value && value[symbolObservable] && value === value[symbolObservable]());