Documentation Language: Swift

Method

getLiteral(name:)

Retrieves a literal by its name.

func getLiteral(name: String) -> EEnumLiteral?

Parameters

name

The name of the literal to find.

Return Value

The matching literal, or nil if not found.