Function matchURLRoute

  • Checks whether the given route matches URL pattern.

    Parameters

    Returns Record<string, string> | null

    A map of string values of named and anonymous captures, or null is the route does not match the pattern.

    See

    routeCapture For route capture mapping rules.

Generated using TypeDoc