AutoApi.UnitType.id

You're seeing just the function id, go back to AutoApi.UnitType module for more information.

Specs

id(String.t() | atom()) :: id()

Returns the ID of a measurement type given the name.

The name can be expressed as a string or atom.

Examples

iex> AutoApi.UnitType.id(:length)
0x12
iex> AutoApi.UnitType.id("power")
0x14