Search⌘ K
AI Features

Specifying a Type

Explore how to define and use type specifications in Elixir. Understand basic and composite types, type unions, structs, and anonymous functions to write clearer and more reliable code.

A type is simply a subset of all possible values ...