crux_structs v0.1.0 Crux.Structs View Source

Provides a unified function to create one or a list of structs, invoking their create/1 function if available.

Link to this section Summary

Functions

Creates a struct or a list of structs invoking their create/1 function if available

Link to this section Functions

Link to this function create(data, target) View Source
create(data :: map() | list(), target :: module()) :: struct() | list()

Creates a struct or a list of structs invoking their create/1 function if available.