NonEmptyString

@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.Equals")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
object NonEmptyString extends Refined[String]
trait Refined[String]
trait RefinedBase[String]
trait NewtypeBase[String]
class Object
trait Matchable
class Any

Type members

Inherited types

override opaque type Type
Inherited from:
RefinedBase

Value members

Concrete methods

inline override def invalidReason(a: String): String
Definition Classes
inline override def predicate(a: String): Boolean
Definition Classes

Inherited methods

inline def apply(a: String): Type
Inherited from:
Refined
override def deriving[M[*]](using fa: M[String]): M[Type]
Definition Classes
Inherited from:
RefinedBase
inline def expectedMessage(expected: String): String
Inherited from:
RefinedBase
@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.ToString")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def from(a: String): Either[String, Type]
Inherited from:
RefinedBase
def unapply(typ: Type): Option[String]
Inherited from:
RefinedBase
@SuppressWarnings(scala.Array.apply[java.lang.String]("org.wartremover.warts.Throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def unsafeFrom(a: String): Type
Inherited from:
RefinedBase

Givens

Inherited givens

given given_RefinedCtor_Type_A: given_RefinedCtor_Type_A
Inherited from:
RefinedBase
given newRefinedCanEqual: CanEqual[Type, Type]
Inherited from:
NewtypeBase
given unwrap: Coercible[Type, A]
Inherited from:
NewtypeBase
given unwrapM[M[*]]: Coercible[M[Type], M[A]]
Inherited from:
NewtypeBase

Extensions

Extensions

extension (thisNes: NonEmptyString)
@targetName("plus")

Inherited extensions

extension (typ: Type)
inline override def value: String
Definition Classes
Inherited from:
RefinedBase