MValidateMethodsemail(email:String):BooleanThe email function uses regular expressions to check the validity of an email address.
onlyContain(input:String, choices:Array):BooleanValidates that a variable contains only the values is in the array.
mustContain(input:String, choices:Array):BooleanValidates that a variable contains every value in the array.
cantContain(input:String, choices:Array):BooleanValidates that a variable does not contain what is in the array.
includedIn(input:Mixed, choices:Array):BooleanValidates that a variable is in a list of choices.
excludedFrom(input:Mixed, choices:Array):BooleanValidates that a variable is not in a list of choices.
between(input:Number, min:Number, max:Number):BooleanValidates that a variable is between two numbers.
multipleOf(input:Number, multiple:Number):BooleanValidates that an input is a multiple of a number.
even(input:Number):BooleanValidates that an input is an even number.
odd(input:Number):BooleanValidates that an input is an odd number.
state(state:String):BooleanValidates that a state or abbriation for a state is a valid state.
