Ensures that the argument is defined.
Optionalmessage: stringEnsures that the argument falls within a certain range (inclusive).
Optionalmessage: stringEnsures that the argument is not empty.
Optionalmessage: stringEnsures that the argument is not null or undefined.
Optionalmessage: stringEnsures that the argument is not null.
Optionalmessage: stringEnsures that the argument matches the given regular expression.
Optionalmessage: stringEnsures that the value satisfies a predicate.
A fluent interface for performing assertions on a method argument. When an assertion fails, an Error of type ArgumentError (or one of its subtypes) will be thrown.