Gender

io.github.pidoveproject.showdown.team.Gender
See theGender companion enum
object Gender

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Gender.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromShortName(shortName: String): Option[Gender]

Get a gender from its short name.

Get a gender from its short name.

Value parameters

shortName

the short name of the gender

Attributes

Returns

Male if shortName is M, Female if it is F

Givens

Givens

given given_JsonCodec_Gender: JsonCodec[Gender]