empty_

Ensures that the given range is empty. Specified here due to https://issues.dlang.org/show_bug.cgi?id=18839

void
empty_
(
Should
)
(
Should should
,
Fence _ = Fence()
,
string file = __FILE__
,
size_t line = __LINE__
)
if (
isInstanceOf!(ShouldType, Should)
)

Examples

import dshould.basic;

[].should.be.empty;
[5].should.not.be.empty;

Meta