(code: unknown)
| 85 | * @returns Whether the given code is valid. |
| 86 | */ |
| 87 | export function isValidCode(code: unknown): code is number { |
| 88 | return Number.isInteger(code); |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Serializes the given error to an Ethereum JSON RPC-compatible error object. |
no outgoing calls
no test coverage detected
searching dependent graphs…