UNPKG

442 BTypeScriptView Raw
1import type { Observable } from '../types';
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 declare const isObservable: (value?: unknown) => value is Observable;