securityos/node_modules/next/dist/shared/lib/segment.js

16 lines
389 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "isGroupSegment", {
enumerable: true,
get: function() {
return isGroupSegment;
}
});
function isGroupSegment(segment) {
// Use array[0] for performant purpose
return segment[0] === "(" && segment.endsWith(")");
}
//# sourceMappingURL=segment.js.map