Skip to content

isDashboardRoute

isDashboardRoute(pageRoute): boolean

Checks if a route is a dashboard route

Parameters

pageRoute: string

The route to check if it is a dashboard route

Returns

boolean

  • Returns true if the route is a dashboard route

Defined in

packages/studiocms_dashboard/src/utils/isDashboardRoute.ts:19