NonEmpty

case object NonEmpty extends ValidationRule

Check if value is empty.

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
Inherited from:
Singleton

Value members

Inherited methods

final def apply(v: SimpleValue): Validated[Error, SimpleValue]
Inherited from:
ValidationRule
def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Inherited fields

val errorReason: String
Inherited from:
ValidationRule
val name: String
Inherited from:
ValidationRule
val validator: String => Boolean
Inherited from:
ValidationRule