Check if a collection has at least one element
Check if a collection has at least one element
IsEmptySeqError
Uses the == operator on AnyRef for checking equality
Uses the == operator on AnyRef for checking equality
IsNotEqualError
Uses an instance of scalaz.Equal for checking equality
Uses an instance of scalaz.Equal for checking equality
IsNotEqualError
Check if an Option is a Some
Check if an Option is a Some
IsNoneError
Check if a Try is a scala.util.Success
Check if a Try is a scala.util.Success
IsTryFailureError
Check if a string is not blank
Check if a string is not blank
remove the leading and trailing whitespace before checking
IsEmptyStringError
Check if a value is a Monoid.zero
Check if a value is a Monoid.zero
import scalaz.std.anyVal._ notZero(1) === scalaz.Success(1)
IsZeroError
Validator for an optional value
Validator for an optional value
if parameter is Some(a) then a will be validated otherwise scalaz.Success(a)
Validator for an non optional scala.Option value
Validator for an non optional scala.Option value
if parameter is Some(a) then a will be validated otherwise scalaz.Failure
Validator for scala.util.Try values