Extensions for 3.x: Do any use a numeric (id) for loading its page(s)

I’m hoping to unwind the following hot mess of a passage in the getPage method in modx.layout.js. I’m trying to determine if non-string paths are still a thing at all in 3.x as they were at some point in 2.x.

if (action) {
    if (isNaN(parseInt(action)) && (action.substr(0,1) == '?' || (action.substr(0, "index.php?".length) == 'index.php?'))) {
        parts.push(action);
    } else {
        parts.push('?a=' + ("" + action).toLowerCase());
}

If I can confirm that only string paths are relevant now, I can vastly simplify this passage. LMK…

Only string paths are relevant. modAction based routing (where the number corresponds to a record in the actions table) were deprecated in 2.2 and support for it removed in 3.0 alpha.

That’s kinda what I suspected. Thanks for the clarification, Mark!

@markh - While we’re at it, can an action in 3.x ever begin with ‘index.php?’?