Attributes.get
You're seeing just the function
get
, go back to Attributes module for more information.
Gets all attributes.
Example
Attributes.get(MyModule)
Gets attribute in path.
It returns nil
if path is not found.
Example
Attributes.get(MyModule, [:path])
Gets attribute in path with default.
It returns default if path is not found or the value is nil
.
Example
Attributes.get(MyModule, [:path], :default)