[#RPCTypeCheckObj] = RPCTypeCheckObj :mrdocs: Check that an object contains the expected keys with the expected value types. == Synopsis Declared in `<rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void RPCTypeCheckObj( xref:UniValue.adoc[UniValue] const& o, std::map<std::string, UniValueType> const& typesExpected, bool fAllowNull = false, bool fStrict = false); ---- == Parameters [cols="1,4"] |=== | Name| Description | *o* | The object to check. | *typesExpected* | Map of key names to their expected value types. | *fAllowNull* | If true, allow null values for the expected keys. | *fStrict* | If true, reject keys that are not in `typesExpected`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#