dist/backbone-validation.js
function(value, attr, values, model) {
        if(!_.include(values, value)){
          return this.format(defaultMessages.oneOf, this.formatLabel(attr, model), values.join(', '));
        }
      }
function(value, attr, values, model) {
        if(!_.include(values, value)){
          return this.format(defaultMessages.oneOf, this.formatLabel(attr, model), values.join(', '));
        }
      }
function ( value , attr , values , model ) { if ( ! _ . include ( values , value ) ) { return this . format ( defaultMessages . oneOf , this . formatLabel ( attr , model ) , values . join ( ', ' ) ) ; } }
One of validator Validates that the value has to be equal to one of the elements in the specified array. Case sensitive matching
One of validator Validates that the value has to be equal to one of the elements in the specified array . Case sensitive matching