src/windshaft/map-serializer/anonymous-map-serializer/analysis-serializer.js
function _isAnalysisPartOfOtherAnalyses (analysis, analysisList) {
  return _.any(analysisList, function (otherAnalysisModel) {
    if (!analysis.equals(otherAnalysisModel)) {
      return otherAnalysisModel.findAnalysisById(analysis.get('id'));
    }
    return false;
  });
}
function _isAnalysisPartOfOtherAnalyses (analysis, analysisList) {
  return _.any(analysisList, function (otherAnalysisModel) {
    if (!analysis.equals(otherAnalysisModel)) {
      return otherAnalysisModel.findAnalysisById(analysis.get('id'));
    }
    return false;
  });
}
function _isAnalysisPartOfOtherAnalyses ( analysis , analysisList ) { return _ . any ( analysisList , function ( otherAnalysisModel ) { if ( ! analysis . equals ( otherAnalysisModel ) ) { return otherAnalysisModel . findAnalysisById ( analysis . get ( 'id' ) ) ; } return false ; } ) ; }
Check if an analysis is referenced by other anylisis in the given
analysis collection.
Check if an analysis is referenced by other anylisis in the given analysis collection .