function isPathArray(path) {
  return Array.isArray(path) && path.every((seg) => {
    const lk = seg[0].toLowerCase();
    return paramsCount[lk] === seg.length - 1 && 'achlmqstvz'.includes(lk);
  });
}
Iterates an array to check if it's an actual `pathArray`.

@param {string | SVGPath.pathArray} path the `pathArray` to be checked
@returns {boolean} iteration result