ExKcal.Alcohols (ExKcal v0.0.5)

Describes various alcohols common and beverages and food.

Link to this section Summary

Types

t()

Common alcohols expressed in Elixir.ExKcal.Alcohols.weight().

Amount of substance and unit it is represented in.

Link to this section Types

Specs

t() :: %ExKcal.Alcohols{ethanol: weight(), other: weight(), total: weight()}

Common alcohols expressed in Elixir.ExKcal.Alcohols.weight().

Specs

volume() :: {float(), :l | :dl | :ml} | {nil, :none}

Specs

weight() :: {float(), :kg | :g | :mg | :μg} | {nil, :none}

Amount of substance and unit it is represented in.