function getComponentType(oManifest) {
		// manifest instance
		if (oManifest?.getEntry) {
			return oManifest.getEntry?.("sap.app")?.type;
		}

		// raw manifest
		return oManifest?.["sap.app"]?.type;
	}
Returns the type of "sap.app" from the manifest object passed.
@param {sap.ui.core.Manifest} oManifest - Manifest object
@returns {string|undefined} Manifest object's <code>type</code> property for <code>sap.app</code> entry