MCPcopy
hub / github.com/postcss/postcss / isAnnotation

Method isAnnotation

lib/map-generator.js:208–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 }
207
208 isAnnotation() {
209 if (this.isInline()) {
210 return true
211 }
212 if (typeof this.mapOpts.annotation !== 'undefined') {
213 return this.mapOpts.annotation
214 }
215 if (this.previous().length) {
216 return this.previous().some(i => i.annotation)
217 }
218 return true
219 }
220
221 isInline() {
222 if (typeof this.mapOpts.inline !== 'undefined') {

Callers 1

generateMapMethod · 0.95

Calls 3

isInlineMethod · 0.95
previousMethod · 0.95
someMethod · 0.80

Tested by

no test coverage detected