MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / _modifiersMatch

Function _modifiersMatch

client/vendors/mousetrap.js:276–278  ·  view source on GitHub ↗

* checks if two arrays are equal * * @param {Array} modifiers1 * @param {Array} modifiers2 * @returns {boolean}

(modifiers1, modifiers2)

Source from the content-addressed store, hash-verified

274 * @returns {boolean}
275 */
276 function _modifiersMatch(modifiers1, modifiers2) {
277 return modifiers1.sort().join(',') === modifiers2.sort().join(',');
278 }
279
280 /**
281 * resets all sequence counters except for the ones passed in

Callers 1

_getMatchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected