[#RPCArg-MatchesType] = xref:RPCArg.adoc[RPCArg]::MatchesType :relfileprefix: ../ :mrdocs: Check whether the request JSON type matches. Returns true if type matches, or object describing error(s) if not. == Synopsis Declared in `<rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:UniValue.adoc[UniValue] MatchesType(xref:UniValue.adoc[UniValue] const& request) const; ---- == Return Value An empty value if the type matches, or an object describing the errors. == Parameters [cols="1,4"] |=== | Name| Description | *request* | The value passed for this argument. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#