MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / rulesets

Method rulesets

src/common/style/CartoCSS.js:4324–4332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4322 }
4323
4324 rulesets() {
4325 if (this._rulesets) {
4326 return this._rulesets;
4327 } else {
4328 return this._rulesets = this.rules.filter(function (r) {
4329 return (r instanceof CartoCSS.Tree.Ruleset);
4330 });
4331 }
4332 }
4333
4334 find(selector, self) {
4335 self = self || this;

Callers 1

findMethod · 0.95

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected