Files
common/packages/util
Jaco Greeff 06057da172 4.2 (#778)
* 4.2

* dedupe
2020-11-23 12:49:57 +01:00
..
2020-11-17 16:26:43 +01:00
2018-11-21 12:26:38 +01:00
2020-11-23 12:49:57 +01:00

@polkadot/util

Various useful utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.

Usage

Installation -

yarn add @polkadot/util

Functions can be imported directly from the package, e.g.

import { isHex } from '@polkadot/util';