reno.utils.is_free_var#
- reno.utils.is_free_var(eq)#
A reference is a “free reference/free variable” if its equation has no references to _other_ references.
Expects an EquationPart rather than only the ref itself because this applies both to stock .init as well as flow/var .eq
- Parameters:
eq (EquationPart)
- Return type:
bool