MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / isForAddon

Method isForAddon

lib/models/package-info-cache/package-info.js:243–245  ·  view source on GitHub ↗

* Indicate if this packageInfo is for an Addon. * * @method isForAddon * @return {Boolean} true if this packageInfo is for an Addon, false otherwise.

()

Source from the content-addressed store, hash-verified

241 * @return {Boolean} true if this packageInfo is for an Addon, false otherwise.
242 */
243 isForAddon() {
244 return isAddon(this.pkg.keywords);
245 }
246
247 /**
248 * Indicate if this packageInfo represents an engine.

Callers 4

constructorMethod · 0.95
discoverAddonAddonsMethod · 0.80
discoverProjectAddonsMethod · 0.80
_readPackageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected