View Source Flamel.Struct (flamel v1.10.0)

A bunch of helper functions for Structs

Summary

Functions

Return a list of fields from a strcut

Functions

Return a list of fields from a strcut

Examples

iex> Flamel.Struct.fields(%User{a: 1, b: 2})
[:a, :b]