Sign in
apache
/
nifi-fds
/
gh-pages
/
.
/
node_modules
/
stylelint
/
lib
/
rules
/
named-grid-areas-no-invalid
/
utils
/
isRectangular.js
blob: a8f2a1158e3cfc8eacf0f4766634950b53549ec2 [
file
] [
log
] [
blame
]
'use strict'
;
/**
*
* @param {string[][]} areas
* @returns {boolean}
*/
function
isRectangular
(
areas
)
{
return
areas
.
every
((
row
,
_i
,
arr
)
=>
row
.
length
===
arr
[
0
].
length
);
}
module
.
exports
=
isRectangular
;