mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 04:27:59 +00:00
16 lines
378 B
TypeScript
16 lines
378 B
TypeScript
/**
|
|
* @name isU8a
|
|
* @summary Tests for a `Uint8Array` object instance.
|
|
* @description
|
|
* Checks to see if the input object is an instance of `Uint8Array`.
|
|
* @example
|
|
* <BR>
|
|
*
|
|
* ```javascript
|
|
* import { isUint8Array } from '@pezkuwi/util';
|
|
*
|
|
* console.log('isU8a', isU8a([])); // => false
|
|
* ```
|
|
*/
|
|
export declare function isU8a(value?: unknown): value is Uint8Array;
|