@polkadot/util
Version:
A collection of useful utilities for @polkadot
15 lines (14 loc) • 673 B
TypeScript
/** true if the environment has proper BigInt support */
export declare const hasBigInt: boolean;
/** true if the environment is CJS */
export declare const hasCjs: boolean;
/** true if the environment has __dirname available */
export declare const hasDirname: boolean;
/** true if the environment is ESM */
export declare const hasEsm: boolean;
/** true if the environment has WebAssembly available */
export declare const hasWasm: boolean;
/** true if the environment has support for Buffer (typically Node.js) */
export declare const hasBuffer: boolean;
/** true if the environment has process available (typically Node.js) */
export declare const hasProcess: boolean;