assertDictionary()function
assertDictionary(value: unknown, caller: AnyCaller = assertDictionary): asserts value is ImmutableDictionary
| Param | Type | |
|---|---|---|
value | unknown | The value to assert. required |
caller | AnyCaller | Function to attribute a thrown error to (defaults to assertDictionary itself). Defaults to assertDictionary |
| Return | |
|---|---|
asserts value is ImmutableDictionary |
| Throws | |
|---|---|
ValueError | If value is not a dictionary object. |
Assert that an unknown value is a dictionary object.