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

Method spaceOfUuid

tiling.js:3252–3254  ·  view source on GitHub ↗

* Returns the space of a specific uuid.

(uuid)

Source from the content-addressed store, hash-verified

3250 * Returns the space of a specific uuid.
3251 */
3252 spaceOfUuid(uuid) {
3253 return [...this.values()].find(s => uuid === s.uuid);
3254 }
3255
3256 get selectedSpace() {
3257 return this._selectedSpace ?? this.activeSpace;

Callers 1

monitorsChangedMethod · 0.95

Calls 1

findMethod · 0.45

Tested by

no test coverage detected