You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Get the route path registered within the handler
38
38
*
39
39
* @param {Context} c - The context object
40
+
* @param {number} index - The index of the root from which to retrieve the path, similar to Array.prototype.at(), where a negative number is the index counted from the end of the matching root. Defaults to the current root index.
40
41
* @returns The route path registered within the handler
* Get the basePath of the as-is route specified by routing.
55
63
*
56
64
* @param {Context} c - The context object
65
+
* @param {number} index - The index of the root from which to retrieve the path, similar to Array.prototype.at(), where a negative number is the index counted from the end of the matching root. Defaults to the current root index.
57
66
* @returns The basePath of the as-is route specified by routing.
* @param {number} index - The index of the root from which to retrieve the path, similar to Array.prototype.at(), where a negative number is the index counted from the end of the matching root. Defaults to the current root index.
0 commit comments