Checks that pointer is null.
- pointer: the pointer that must be null.
- loc: where the check is written, shown when it fails. Leave the default.
expect_null :: (pointer: *$T, loc := #caller_location) -> bool
Checks that pointer is null.
Parameters
- pointer: *$T
- the pointer that must be null.
- loc := #caller_location
- where the check is written, shown when it fails. Leave the default.
Returns
- bool