UNPKG

454 BMarkdownView Raw
1# @polkadot/util
2
3Various useful utility functions that are used across all projects in the [@polkadot](https://polkadot.js.org) namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
4
5## Usage
6
7Installation -
8
9```
10yarn add @polkadot/util
11```
12
13Functions can be imported directly from the package, e.g.
14
15```js
16import { isHex } from '@polkadot/util';
17```