moux2003
9/3/2013 - 4:05 PM

Is value in array

Is value in array

// true if needed is found in list
function ( list, needed ) { return !!~list.indexOf( needed ); }