mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Allow comparing equality between builtin types and null
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user