DarkMatter.Structs.keys

You're seeing just the function keys, go back to DarkMatter.Structs module for more information.

Specs

keys(module() | struct()) :: [atom()]

Determine keys for a given module or raises ArgumentError.

Examples

iex> keys(IO.Stream)
[:device, :line_or_bytes, :raw]

iex> keys(%IO.Stream{})
[:device, :line_or_bytes, :raw]

iex> keys(%{})
** (FunctionClauseError) no function clause matching in DarkMatter.Structs.keys/1