function next(bFound) {
			if (bFound) {
				return aElements[i];
			}
			i += 1;
			if (i < aElements.length) {
				return fnCallback(aElements[i], i, aElements).then(next);
			}
		}
/*
		 * Visits the next element, taking the result of the previous callback into account.
		 *
		 * @param {boolean} bFound
		 *   Whether an element was approved by the corresponding callback
		 * @returns {sap.ui.base.SyncPromise|any}
		 *   First call returns a <code>sap.ui.base.SyncPromise</code> which resolves with a later
		 *   call's result.
		 */
Visits the next element, taking the result of the previous callback into account.
@param {boolean} bFound
Whether an element was approved by the corresponding callback
@returns {sap.ui.base.SyncPromise|any}
First call returns a sap.ui.base.SyncPromise which resolves with a later
call's result.
Visits the next element taking the result of the previous callback into account . @param { boolean } bFound Whether an element was approved by the corresponding callback @returns { sap . ui . base . SyncPromise|any } First call returns a sap . ui . base . SyncPromise which resolves with a later call ' s result .
function next(bFound) {
			if (bFound) {
				return aElements[i];
			}
			i += 1;
			if (i < aElements.length) {
				return fnCallback(aElements[i], i, aElements).then(next);
			}
		}
function next ( bFound ) { if ( bFound ) { return aElements [ i ] ; } i += 1 ; if ( i < aElements . length ) { return fnCallback ( aElements [ i ] , i , aElements ) . then ( next ) ; } }
Visits the next element, taking the result of the previous callback into account.
Visits the next element taking the result of the previous callback into account .