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

Method find

prefsKeybinding.js:446–453  ·  view source on GitHub ↗
(combo)

Source from the content-addressed store, hash-verified

444 }
445
446 find(combo) {
447 const pos = [...this.combos].findIndex(c => c.keystr === combo.keystr);
448 if (pos === -1) {
449 return [false];
450 } else {
451 return [true, pos];
452 }
453 }
454
455 _load() {
456 const keystrs = this._settings.get_strv(this.action) || [];

Callers 13

addMethod · 0.95
removeMethod · 0.95
replaceMethod · 0.95
bindkeyFunction · 0.45
spaceOfIndexMethod · 0.45
spaceOfUuidMethod · 0.45
getPrevSpaceByUUIDMethod · 0.45
takeWindowFunction · 0.45
findMethod · 0.45
_onCollisionActivatedMethod · 0.45
upgradeGnomeMonitorsMethod · 0.45
updateOverridesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected