mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 06:47:57 +00:00
17 lines
444 B
TypeScript
17 lines
444 B
TypeScript
import type { Observable } from '../types.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 declare const isObservable: (value?: unknown) => value is Observable;
|