PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@polkadot/util/hex

Просмотр файла: stripPrefix.d.ts

/**
 * @name hexStripPrefix
 * @summary Strips any leading `0x` prefix.
 * @description
 * Tests for the existence of a `0x` prefix, and returns the value without the prefix. Un-prefixed values are returned as-is.
 * @example
 * <BR>
 *
 * ```javascript
 * import { hexStripPrefix } from '@polkadot/util';
 *
 * console.log('stripped', hexStripPrefix('0x1234')); // => 1234
 * ```
 */
export declare function hexStripPrefix(value?: string | null): string;

Выполнить команду


Для локальной разработки. Не используйте в интернете!