Function parseRouteUrl

Parses the given route template and URL to match them and returns the result.

  • Parameters

    • template: string

      The route template to match against.

    • url: string

      The URL to be matched.

    Returns null | MatchResult<object>

    • The matched result or null if no match is found.