Keyworded

it.grypho.scala.leonardo.core.Keyworded
See theKeyworded companion trait
object Keyworded

The reverse lookup every Keyworded kind shares.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Keyworded.type

Members list

Value members

Concrete methods

def byKeyword[A <: Keyworded](values: Iterable[A], word: String): Option[A]

The case spelled word, if any.

The case spelled word, if any.

Type parameters

A

the kind

Value parameters

values

the kind's cases

word

the keyword

Attributes

Returns

the case, or None