Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Latest commit

 

History

History
84 lines (48 loc) · 1.74 KB

_helpers_.md

File metadata and controls

84 lines (48 loc) · 1.74 KB

ethereumjs-util"helpers"

Module: "helpers"

Index

Functions

Functions

Const assertIsArray

assertIsArray(input: number[]): void

Defined in helpers.ts:29

Throws if input is not an array

Parameters:

Name Type Description
input number[] value to check

Returns: void


Const assertIsBuffer

assertIsBuffer(input: Buffer): void

Defined in helpers.ts:18

Throws if input is not a buffer

Parameters:

Name Type Description
input Buffer value to check

Returns: void


Const assertIsHexString

assertIsHexString(input: string): void

Defined in helpers.ts:7

Throws if a string is not hex prefixed

Parameters:

Name Type Description
input string string to check hex prefix of

Returns: void


Const assertIsString

assertIsString(input: string): void

Defined in helpers.ts:40

Throws if input is not a string

Parameters:

Name Type Description
input string value to check

Returns: void