Wrapper for UniValue::VType, which includes typeAny: * Used to denote don't care type. */
| 49 | /** Wrapper for UniValue::VType, which includes typeAny: |
| 50 | * Used to denote don't care type. */ |
| 51 | struct UniValueType { |
| 52 | UniValueType(UniValue::VType _type) : typeAny(false), type(_type) {} |
| 53 | UniValueType() : typeAny(true) {} |
| 54 | bool typeAny; |
| 55 | UniValue::VType type; |
| 56 | }; |
| 57 | |
| 58 | /** |
| 59 | * Type-check arguments; throws JSONRPCError if wrong type given. Does not check that |
no outgoing calls
no test coverage detected