jsdataframe.js
function processLookupResults(intInds, key, opts, resultArr) {
  if (intInds === null) {
    if (opts.resolveMode === RESOLVE_MODE.COL) {
      throw new Error('could not find column named "' + key + '"');
    } else {
      throw new Error('could find entry for key: ' + key);
    }
  } else if (typeof intInds === 'number') {
    resultArr.push(intInds);
  } else {
    for (var j = 0; j < intInds.length; j++) {
      resultArr.push(intInds[j]);
    }
  }
}
function processLookupResults(intInds, key, opts, resultArr) {
  if (intInds === null) {
    if (opts.resolveMode === RESOLVE_MODE.COL) {
      throw new Error('could not find column named "' + key + '"');
    } else {
      throw new Error('could find entry for key: ' + key);
    }
  } else if (typeof intInds === 'number') {
    resultArr.push(intInds);
  } else {
    for (var j = 0; j < intInds.length; j++) {
      resultArr.push(intInds[j]);
    }
  }
}
function processLookupResults ( intInds , key , opts , resultArr ) { if ( intInds === null ) { if ( opts . resolveMode === RESOLVE_MODE . COL ) { throw new Error ( 'could not find column named "' + key + '"' ) ; } else { throw new Error ( 'could find entry for key: ' + key ) ; } } else if ( typeof intInds === 'number' ) { resultArr . push ( intInds ) ; } else { for ( var j = 0 ; j < intInds . length ; j ++ ) { resultArr . push ( intInds [ j ] ) ; } } }
Processes 'intInds', the result returned from lookup via an AbstractIndex. Results are placed in 'resultArr' if present, or an error is thrown.
Processes intInds the result returned from lookup via an AbstractIndex . Results are placed in resultArr if present or an error is thrown .