Files
pezkuwi-common/packages/util/is/observable.js
T

17 lines
413 B
JavaScript

import { isOn } from './helpers.js';
/**
* @name isBObservable
* @summary Tests for a `Observable` object instance.
* @description
* Checks to see if the input object is an instance of `BN` (bn.js).
* @example
* <BR>
*
* ```javascript
* import { isObservable } from '@pezkuwi/util';
*
* console.log('isObservable', isObservable(...));
* ```
*/
export const isObservable = /*#__PURE__*/ isOn('next');