should

The function **should** it's an helper or syntax sugar to create the assertation. Because of D’s lookup shortcut syntax, one is able to use both should(obj) and obj.should to get an object wrapped around an Assertion instance

should
(
T
)
(
auto ref T context
)

Meta