Rill v0.10.4 Rill.MapCopy View Source

Link to this section Summary

Functions

Copies data over receiver, only the fields that are in common. The returned value is a tuple with first value being the updated receiver and the second value being a list of keys copied over

Link to this section Functions

Link to this function

copy_existing(receiver, struct) View Source
copy_existing(receiver :: map() | struct(), data :: map() | struct()) ::
  {map() | struct(), list()}

Copies data over receiver, only the fields that are in common. The returned value is a tuple with first value being the updated receiver and the second value being a list of keys copied over