empty

pragma(inline, true)
bool
empty
(
size_t dim = 0
T
)
(
scope const T[] ar
)
if (
!dim
)

Examples

assert((int[]).init.empty);
assert(![1].empty!0); // Slice-like API

Meta