src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/BaseController.js
function (sControlName) {
				return APIInfo.getIndexJsonPromise().then(function (aData) {
					function findSymbol (a) {
						return a.some(function (o) {
							var bFound = o.name === sControlName;
							if (!bFound && o.nodes) {
								return findSymbol(o.nodes);
							}
							return bFound;
						});
					}
					return findSymbol(aData);
				});
			}
function (sControlName) {
				return APIInfo.getIndexJsonPromise().then(function (aData) {
					function findSymbol (a) {
						return a.some(function (o) {
							var bFound = o.name === sControlName;
							if (!bFound && o.nodes) {
								return findSymbol(o.nodes);
							}
							return bFound;
						});
					}
					return findSymbol(aData);
				});
			}
function ( sControlName ) { return APIInfo . getIndexJsonPromise ( ) . then ( function ( aData ) { function findSymbol ( a ) { return a . some ( function ( o ) { var bFound = o . name === sControlName ; if ( ! bFound && o . nodes ) { return findSymbol ( o . nodes ) ; } return bFound ; } ) ; } return findSymbol ( aData ) ; } ) ; }
Checks if a control has API Reference
@param {string} sControlName
@return {Promise} A promise that resolves to {boolean}
Checks if a control has API Reference