Swap-Aggregator-Subgraph/node_modules/ethereumjs-util/dist/helpers.d.ts
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

22 lines
639 B
TypeScript

/// <reference types="node" />
/**
* Throws if a string is not hex prefixed
* @param {string} input string to check hex prefix of
*/
export declare const assertIsHexString: (input: string) => void;
/**
* Throws if input is not a buffer
* @param {Buffer} input value to check
*/
export declare const assertIsBuffer: (input: Buffer) => void;
/**
* Throws if input is not an array
* @param {number[]} input value to check
*/
export declare const assertIsArray: (input: number[]) => void;
/**
* Throws if input is not a string
* @param {string} input value to check
*/
export declare const assertIsString: (input: string) => void;