Files
common/packages/util
github-actions[bot] 9281daa14c
Some checks failed
Lock Threads / lock (push) Has been cancelled
[CI Skip] release/stable 14.0.3
skip-checks: true
2026-03-23 12:53:26 +00:00
..
2026-03-23 12:53:26 +00:00
2026-03-23 14:48:13 +02: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';