Narrows an unknown value to a Dictionary<T> if it is type-compatible and tests positively with isDictionary, or raises an error otherwise.
unknown
Dictionary<T>
The value to test.
Optional
The error message to use if value is not type-compatible.
value
UnexpectedValueTypeError If the value was undefined.
Narrows an
unknown
value to aDictionary<T>
if it is type-compatible and tests positively with isDictionary, or raises an error otherwise.