UNPKG

413 BJavaScriptView Raw
1import { isOn } from './helpers.js';
2/**
3 * @name isBObservable
4 * @summary Tests for a `Observable` object instance.
5 * @description
6 * Checks to see if the input object is an instance of `BN` (bn.js).
7 * @example
8 * <BR>
9 *
10 * ```javascript
11 * import { isObservable } from '@polkadot/util';
12 *
13 * console.log('isObservable', isObservable(...));
14 * ```
15 */
16export const isObservable = /*#__PURE__*/ isOn('next');
\No newline at end of file