MCPcopy Create free account
hub / github.com/NikLever/ThreeJS-PathEditor / nextPathName

Method nextPathName

store.js:69–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 get nextPathName(){
70 const names = this.getPathNames();
71 if (names.length == 0 ) return "Path1";
72 const lastName = names.pop();
73 const lastIndex = Number(lastName.substring(4));
74 return `Path${lastIndex + 1}`;
75 }
76
77 get activePath(){
78 const key = this.read( 'activePath' );

Callers

nothing calls this directly

Calls 1

getPathNamesMethod · 0.95

Tested by

no test coverage detected