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

@@ -40,6 +40,11 @@
Cast an [int] value to a floating-point value, [code]float(1)[/code] will be equal to [code]1.0[/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="float" />
@@ -189,6 +194,11 @@
Returns [code]true[/code] if this [float] is less than or equal to the given [int].
</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="float" />