Current section
Files
Jump to
Current section
Files
priv/docs/templates/invariants.md
This function contains the definition of the invariant `<%= name %>`.
## Available variables
### State
- `state` contains the complete symbolic state of the model.
<%= for attr <- attrs, do: "- `#{Macro.var(attr, nil) |> Macro.to_string}` attribute defined in the state declaration.\n" %>