dist/ng-describe.js
function oneOf(arr, x) {
    check.verify.array(arr, 'expected an array');
    return arr.indexOf(x) !== -1;
  }
function oneOf(arr, x) {
    check.verify.array(arr, 'expected an array');
    return arr.indexOf(x) !== -1;
  }
function oneOf ( arr , x ) { check . verify . array ( arr , 'expected an array' ) ; return arr . indexOf ( x ) !== - 1 ; }
Returns true if given item is in the array

@method oneOf
Returns true if given item is in the array