PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@polkadot/util/cjs/is
Просмотр файла: buffer.d.ts
import type { BufferObject } from '../types.js';
/**
* @name isBuffer
* @summary Tests for a `Buffer` object instance.
* @description
* Checks to see if the input object is an instance of `Buffer`.
* @example
* <BR>
*
* ```javascript
* import { isBuffer } from '@polkadot/util';
*
* console.log('isBuffer', isBuffer(Buffer.from([]))); // => true
* ```
*/
export declare function isBuffer<T = BufferObject>(value: unknown): value is T;
Выполнить команду
Для локальной разработки. Не используйте в интернете!