Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8.6, 2.0-beta-3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Currently, if you want to safely check whether a variable exists in the binding or not, you have to use code like binding.variables?.containsKey('prop'), which is unintuitive. So this pull request adds a hasVariable() method, which is the one that I automatically attempt to use before realising it doesn't exist.
Erm...this pull request done completely via GitHub UI, so may need testing ![]()