NeahNew/node_modules/next/dist/shared/lib/router/utils/is-dynamic.d.ts
2025-05-03 14:17:46 +02:00

9 lines
316 B
TypeScript

/**
* Check if a route is dynamic.
*
* @param route - The route to check.
* @param strict - Whether to use strict mode which prohibits segments with prefixes/suffixes (default: true).
* @returns Whether the route is dynamic.
*/
export declare function isDynamicRoute(route: string, strict?: boolean): boolean;