pub static getURLPath: GetUrlPathInternalTypeExpand description
Gets the current URL path as an array.
Examples
function setup() {
let urlPath = getURLPath();
for (let i = 0; i < urlPath.length; i++) {
text(urlPath[i], 10, i * 20 + 20);
}
}