This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/esm/lib/is-interception-route-rewrite.js
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

8 lines
476 B
JavaScript

import { NEXT_URL } from '../client/components/app-router-headers';
export function isInterceptionRouteRewrite(route) {
var _route_has_, _route_has;
// When we generate interception rewrites in the above implementation, we always do so with only a single `has` condition.
return ((_route_has = route.has) == null ? void 0 : (_route_has_ = _route_has[0]) == null ? void 0 : _route_has_.key) === NEXT_URL;
}
//# sourceMappingURL=is-interception-route-rewrite.js.map