src/services/leafletIterators.js
function(collection, cb, ignoreCollection, cbName) {
    if (!ignoreCollection) {
      if (!lHlp.isDefined(collection) || !lHlp.isDefined(cb)) {
        return true;
      }
    }

    if (!lHlp.isFunction(cb)) {
      cbName = lHlp.defaultTo(cb, 'cb');
      $log.error(errorHeader + cbName + ' is not a function');
      return true;
    }

    return false;
  }
function(collection, cb, ignoreCollection, cbName) {
    if (!ignoreCollection) {
      if (!lHlp.isDefined(collection) || !lHlp.isDefined(cb)) {
        return true;
      }
    }

    if (!lHlp.isFunction(cb)) {
      cbName = lHlp.defaultTo(cb, 'cb');
      $log.error(errorHeader + cbName + ' is not a function');
      return true;
    }

    return false;
  }
function ( collection , cb , ignoreCollection , cbName ) { if ( ! ignoreCollection ) { if ( ! lHlp . isDefined ( collection ) || ! lHlp . isDefined ( cb ) ) { return true ; } } if ( ! lHlp . isFunction ( cb ) ) { cbName = lHlp . defaultTo ( cb , 'cb' ) ; $log . error ( errorHeader + cbName + ' is not a function' ) ; return true ; } return false ; }
END COPY fron underscore
END COPY fron underscore