UNPKG

next

Version:

The React Framework

9 lines (8 loc) 316 B
/** * 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;