Skip to content

isRpcError

function isRpcError(value: unknown): value is RpcError

Defined in: packages/iso-filecoin/src/rpc.js:37

Check if a value is a RpcError

Parameters

ParameterTypeDescription
valueunknown

Returns

value is RpcError