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/server/route-matches/pages-api-route-match.js
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

10 lines
373 B
JavaScript

import { RouteKind } from '../route-kind';
/**
* Checks if the given match is a Pages API route match.
* @param match the match to check
* @returns true if the match is a Pages API route match, false otherwise
*/ export function isPagesAPIRouteMatch(match) {
return match.definition.kind === RouteKind.PAGES_API;
}
//# sourceMappingURL=pages-api-route-match.js.map