pub fn var_state() -> Var<bool>Expand description
Variable for state properties (is_*, has_*).
State variables are bool probes that are set by the property, they are created automatically
by the property default when used in when expressions, but can be created manually.