checkEqualLength static method
Asserts that the layouts a
and b
have the same length.
Implementation
static void checkEqualLength(Layout a, Layout b, [String? name]) {
if (a.length != b.length) {
throw LayoutError.length(a, b, name);
}
}