Attributes.update
You're seeing just the function
update
, go back to Attributes module for more information.
Updates attribute in path.
Available at compile time only.
Example
Attributes.update(MyModule, [:path], & &1 + 1)
Updates attribute in path with default lambda input value.
Available at compile time only.
Example
Attributes.update(MyModule, [:path], 41, & &1 + 1)