MCPcopy Index your code
hub / github.com/csscomb/csscomb.js / _pluginIndex

Method _pluginIndex

src/core.js:378–387  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

376 }
377
378 _pluginIndex(name) {
379 let index = -1;
380 this.plugins.some(function(plugin, i) {
381 if (plugin.name === name) {
382 index = i;
383 return true;
384 }
385 });
386 return index;
387 }
388
389 /**
390 * @param {Node} ast

Callers 2

useMethod · 0.95
_pluginAlreadyUsedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected