MCPcopy
hub / github.com/postcss/postcss / isMap

Method isMap

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

Source from the content-addressed store, hash-verified

235 }
236
237 isMap() {
238 if (typeof this.opts.map !== 'undefined') {
239 return !!this.opts.map
240 }
241 return this.previous().length > 0
242 }
243
244 isSourcesContent() {
245 if (typeof this.mapOpts.sourcesContent !== 'undefined') {

Callers 2

constructorMethod · 0.95
generateMethod · 0.95

Calls 1

previousMethod · 0.95

Tested by

no test coverage detected