Documentation Language: Swift

Method

getLiteral(value:)

Retrieves a literal by its integer value.

func getLiteral(value: Int) -> EEnumLiteral?

Parameters

value

The integer value of the literal to find.

Return Value

The matching literal, or nil if not found.