We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var SomeModel = Backbone.Model.extend({ validation: { name: { required: true | false } } }); var SomeModel = Backbone.Model.extend({ validation: { name: { required: function() { return true | false; } } } });