The value's type is T exactly; for an Any, the type of what it holds.
value: Any = 5;
assert_that(value, of_type(s64));- $T: the type the value must have.
of_type :: ($T: Type) -> Matcher
The value's type is T exactly; for an Any, the type of what it holds.
Parameters
- $T: Type
- the type the value must have.
Returns
value: Any = 5;
assert_that(value, of_type(s64));