MCPcopy
hub / github.com/paperwm/PaperWM / spaceOfIndex

Method spaceOfIndex

tiling.js:3244–3247  ·  view source on GitHub ↗

* Returns the space by it's workspace index value.

(workspaceIndex)

Source from the content-addressed store, hash-verified

3242 * Returns the space by it's workspace index value.
3243 */
3244 spaceOfIndex(workspaceIndex) {
3245 let workspace = [...this.keys()].find(w => workspaceIndex === w.index());
3246 return this.spaceOf(workspace);
3247 }
3248
3249 /**
3250 * Returns the space of a specific uuid.

Callers 3

monitorsChangedMethod · 0.95
insertWindowFunction · 0.80
setupOverridesFunction · 0.80

Calls 3

spaceOfMethod · 0.95
indexMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected