UNPKG

530 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.isObservable = void 0;
4const helpers_js_1 = require("./helpers.js");
5/**
6 * @name isBObservable
7 * @summary Tests for a `Observable` object instance.
8 * @description
9 * Checks to see if the input object is an instance of `BN` (bn.js).
10 * @example
11 * <BR>
12 *
13 * ```javascript
14 * import { isObservable } from '@polkadot/util';
15 *
16 * console.log('isObservable', isObservable(...));
17 * ```
18 */
19exports.isObservable = (0, helpers_js_1.isOn)('next');