mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-16 23:33:38 -05:00
6 lines
277 B
JavaScript
6 lines
277 B
JavaScript
'use strict';
|
|
|
|
exports.isListr = obj => Boolean(obj && obj.setRenderer && obj.add && obj.run);
|
|
// https://github.com/sindresorhus/is-observable/issues/1
|
|
exports.isObservable = obj => Boolean(obj && typeof obj.subscribe === 'function' && obj.constructor.name === 'Observable');
|