NonEmptyString

besom.util.NonEmptyString$package.NonEmptyString

A String that is not empty or blank.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object OutputOps

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
OutputOps.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

Value parameters

s

a String to be converted to a NonEmptyString.

Attributes

Returns

an optional NonEmptyString if the given String is not empty or blank, otherwise None.

inline def from(inline s: String): NonEmptyString

Value parameters

s

a String to be inferred to be a NonEmptyString.

Attributes

Returns

a NonEmptyString if the given String is not empty or blank and can be looked up as a static constant, otherwise a compile-time error.

Givens

Implicits

Implicits

implicit inline def outputStr2OutputNonEmptyString(inline s: Output[String])(using Context): Output[NonEmptyString]
implicit inline def str2NonEmptyString(inline s: String): NonEmptyString