lib/expression-api/import.js
function(list, name) {
    if (Object.prototype.toString.call(list) === '[object Array]' && Object.prototype.toString.call(name) === '[object String]') {
      for (var i = 0; i < list.length; i++) {
        if (list[i] === name) {
          return true;
        }
      }
    }
    return false;
  }
function(list, name) {
    if (Object.prototype.toString.call(list) === '[object Array]' && Object.prototype.toString.call(name) === '[object String]') {
      for (var i = 0; i < list.length; i++) {
        if (list[i] === name) {
          return true;
        }
      }
    }
    return false;
  }
function ( list , name ) { if ( Object . prototype . toString . call ( list ) === '[object Array]' && Object . prototype . toString . call ( name ) === '[object String]' ) { for ( var i = 0 ; i < list . length ; i ++ ) { if ( list [ i ] === name ) { return true ; } } } return false ; }
Internal function for checking if a string is contained in a given array
Internal function for checking if a string is contained in a given array