Testing module

of_type

procedure · 1 overloadsince 0.30.0Source

The value's type is T exactly; for an Any, the type of what it holds.

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

See also