• Preparing search index...
  • The search index is not available
@umbraco-cms/backoffice
  • @umbraco-cms/backoffice
  • packages/core/router
  • matchRoutes

Function matchRoutes

  • matchRoutes<D = any>(routes: UmbRoute<D>[], path: string): null | IRouteMatch<D>

    Matches the first route that matches the given path.

    Type Parameters

    • D = any

    Parameters

    • routes: UmbRoute<D>[]
    • path: string

    Returns null | IRouteMatch<D>

    • Defined in src/external/router-slot/util/router.ts:112

Settings

Member Visibility
@umbraco-cms/backoffice
  • Loading...

Generated using TypeDoc