MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / isForProject

Method isForProject

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

* Indicate if this packageInfo is for a project. Should be called only after the project * has been loaded (see PackageInfoCache#loadProject for details). * * @method isForProject * @return {Boolean} true if this packageInfo is for a Project, false otherwise.

()

Source from the content-addressed store, hash-verified

231 * @return {Boolean} true if this packageInfo is for a Project, false otherwise.
232 */
233 isForProject() {
234 return !!this.project && this.project.isEmberCLIProject && this.project.isEmberCLIProject();
235 }
236
237 /**
238 * Indicate if this packageInfo is for an Addon.

Callers 1

isForBundleHostMethod · 0.95

Calls 1

isEmberCLIProjectMethod · 0.80

Tested by

no test coverage detected