ethereumjs-util / helpers
▸ Const
assertIsArray(input
): void
Throws if input is not an array
Name | Type | Description |
---|---|---|
input |
number [] |
value to check |
void
packages/util/src/helpers.ts:29
▸ Const
assertIsBuffer(input
): void
Throws if input is not a buffer
Name | Type | Description |
---|---|---|
input |
Buffer |
value to check |
void
packages/util/src/helpers.ts:18
▸ Const
assertIsHexString(input
): void
Throws if a string is not hex prefixed
Name | Type | Description |
---|---|---|
input |
string |
string to check hex prefix of |
void
packages/util/src/helpers.ts:7
▸ Const
assertIsString(input
): void
Throws if input is not a string
Name | Type | Description |
---|---|---|
input |
string |
value to check |
void