2019-02-04 | Paul Boddie | file changeset files shortlog | Optimised __BOOL to test for integers and to return int values directly. For other value types, __VALUE need not be called once integers have been excluded, and so the attrvalue member can be accessed directly. |
paul@279 | 1 | print 1 == 1 # True |
paul@279 | 2 | print 1 != 1 # False |
paul@279 | 3 | print 1 == "one" # False |
paul@279 | 4 | print 1 != "one" # True |