assertNull

throws AssertError if a !is null

void
assertNull
(
A
)
(
A a
,
lazy string fmt = "assertNull fails: %s !is null"
,
string file = __FILE__
,
size_t line = __LINE__
)

Parameters

a
Type: A

value

fmt
Type: string

error message format, must have one string place '%s' for a

Meta