external/bbop.js
function _in_list(in_item, list, comparator){

	var retval = false;
	for(var li = 0; li < list.length; li++ ){
	    var list_item = list[li];

	    if( comparator ){
		var comp_op = comparator(in_item, list_item);
		if( comp_op && comp_op == true ){
		    retval = true;
		}
	    }else{
		if( in_item == list_item ){
		    retval = true;
		}
	    }
	}

	return retval;
    }
function _in_list(in_item, list, comparator){

	var retval = false;
	for(var li = 0; li < list.length; li++ ){
	    var list_item = list[li];

	    if( comparator ){
		var comp_op = comparator(in_item, list_item);
		if( comp_op && comp_op == true ){
		    retval = true;
		}
	    }else{
		if( in_item == list_item ){
		    retval = true;
		}
	    }
	}

	return retval;
    }
function _in_list ( in_item , list , comparator ) { var retval = false ; for ( var li = 0 ; li < list . length ; li ++ ) { var list_item = list [ li ] ; if ( comparator ) { var comp_op = comparator ( in_item , list_item ) ; if ( comp_op && comp_op == true ) { retval = true ; } } else { if ( in_item == list_item ) { retval = true ; } } } return retval ; }
Walk through the list and see if it's there. If compareator is not defined, just to atom comparison.
Walk through the list and see if it s there . If compareator is not defined just to atom comparison .