expect_not_null, then returns from the calling procedure on a failure.
- pointer: the pointer that must not be null.
- loc: where the check is written, shown when it fails. Leave the default.
require_not_null :: (pointer: *$T, loc := #caller_location)
expect_not_null, then returns from the calling procedure on a failure.
Parameters
- pointer: *$T
- the pointer that must not be null.
- loc := #caller_location
- where the check is written, shown when it fails. Leave the default.