web3-ronin-provider

web3-ronin-providerDocs


web3-ronin-provider / isErrorResponse

Function: isErrorResponse()

isErrorResponse(obj): obj is errorResponse

Checks if a given objet is an object, and if it is also an error response object.

Parameters

obj: unknown

Returns

obj is errorResponse

Export

Defined in

src/web3-ronin-utils.ts:51