MCPcopy Create free account
hub / github.com/SAP/ui5-project / isFrameworkProject

Method isFrameworkProject

lib/specifications/Project.js:63–66  ·  view source on GitHub ↗

* Check whether the project is a UI5-Framework project * * @public * @returns {boolean} True if the project is a framework project

()

Source from the content-addressed store, hash-verified

61 * @returns {boolean} True if the project is a framework project
62 */
63 isFrameworkProject() {
64 const id = this.getId();
65 return id.startsWith("@openui5/") || id.startsWith("@sapui5/");
66 }
67
68 /**
69 * Get the project's customConfiguration

Calls 1

getIdMethod · 0.45

Tested by

no test coverage detected