▸ 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
▸ 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
▸ 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
▸ 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