dests ~master (2015-12-16T08:43:09Z)
Dub
Repo
assertNotNull
des
ts
throws
AssertError
if
a is null
void
assertNotNull
(
A
)
(
A
a
,
lazy
string
fmt
= "assertNotNull fails: value is null"
,
string
file
= __FILE__
,
size_t
line
= __LINE__
)
Parameters
a
Type:
A
value
fmt
Type:
string
error message (without format chars)
Meta
Source
See Implementation
des
ts
functions
assertEq
assertEqApprox
assertInRange
assertNotEq
assertNotNull
assertNull
eq
eq_approx
throws AssertError if a is null