Skip to content

Latest commit

 

History

History
100 lines (56 loc) · 1.87 KB

File metadata and controls

100 lines (56 loc) · 1.87 KB

ethereumjs-util / helpers

Module: helpers

Table of contents

Functions

Functions

assertIsArray

Const assertIsArray(input): void

Throws if input is not an array

Parameters

Name Type Description
input number[] value to check

Returns

void

Defined in

packages/util/src/helpers.ts:29


assertIsBuffer

Const assertIsBuffer(input): void

Throws if input is not a buffer

Parameters

Name Type Description
input Buffer value to check

Returns

void

Defined in

packages/util/src/helpers.ts:18


assertIsHexString

Const assertIsHexString(input): void

Throws if a string is not hex prefixed

Parameters

Name Type Description
input string string to check hex prefix of

Returns

void

Defined in

packages/util/src/helpers.ts:7


assertIsString

Const assertIsString(input): void

Throws if input is not a string

Parameters

Name Type Description
input string value to check

Returns

void

Defined in

packages/util/src/helpers.ts:40