MCPcopy
hub / github.com/GrapesJS/grapesjs / isNested

Method isNested

packages/core/src/css_composer/model/CssRule.ts:151–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 isNested() {
152 return !!this.parentRule;
153 }
154
155 protected __isNestedStyleValue(value: unknown): value is CssRule {
156 return value instanceof CssRule && value.parentRule === this;

Callers 3

index.tsFile · 0.80
buildMethod · 0.80
toJSONMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected