equalLength

pure nothrow @safe @nogc
bool
equalLength
(
R
Ss...
)
(
const R r
,
const Ss ss
)
if (
Ss.length != 0 &&
allSatisfy!(hasLength, R, Ss)
)

Return Value

Type: bool

true iff r and all ss all have equal length.

Examples

assert(equalLength([1], [2], [3]));
assert(!equalLength([1, 1], [2], [3]));
assert(!equalLength([1], [2, 2], [3]));
assert(!equalLength([1], [2], [3, 3]));

Meta