1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.isNormalizedArray = void 0;
|
4 | var is_absolute_array_1 = require("./is-absolute-array");
|
5 | /**
|
6 | * Iterates an array to check if it's a `PathArray`
|
7 | * with all segments are in non-shorthand notation
|
8 | * with absolute values.
|
9 | */
|
10 | function isNormalizedArray(path) {
|
11 | return (0, is_absolute_array_1.isAbsoluteArray)(path) && path.every(function (_a) {
|
12 | var pc = _a[0];
|
13 | return 'ACLMQZ'.includes(pc);
|
14 | });
|
15 | }
|
16 | exports.isNormalizedArray = isNormalizedArray;
|
17 | //# sourceMappingURL=is-normalized-array.js.map |
\ | No newline at end of file |