isInit

Check if arg has the value arg.init.

@safe
bool
isInit
(
E
uint N
)
(
in arg
)

Examples

alias T = __vector(uint[4]);
assert(!T([1]).isInit);
assert(T.init.isInit);
alias T = __vector(float[4]);
assert(!T([1]).isInit);
assert(T.init.isInit);
alias T = __vector(double[2]);
assert(!T([1]).isInit);
assert(T.init.isInit);

Meta