Neah/node_modules/next/dist/shared/lib/router/utils/is-dynamic.d.ts
2025-04-24 17:19:14 +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;