Allow comparing equality between builtin types and null

This commit is contained in:
George Marques
2021-09-17 12:22:48 -03:00
parent b334560f05
commit 455e142d37
42 changed files with 1165 additions and 7 deletions

View File

@@ -119,6 +119,11 @@
Cast an [int] value to a boolean value, this method will return [code]false[/code] if [code]0[/code] is passed in, and [code]true[/code] for all other ints.
</description>
</method>
<method name="operator !=" qualifiers="operator">
<return type="bool" />
<description>
</description>
</method>
<method name="operator !=" qualifiers="operator">
<return type="bool" />
<argument index="0" name="right" type="bool" />
@@ -133,6 +138,11 @@
Returns [code]true[/code] if left operand is [code]false[/code] and right operand is [code]true[/code].
</description>
</method>
<method name="operator ==" qualifiers="operator">
<return type="bool" />
<description>
</description>
</method>
<method name="operator ==" qualifiers="operator">
<return type="bool" />
<argument index="0" name="right" type="bool" />