9 lines
316 B
TypeScript
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;
|