mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Documented bool methods
This commit is contained in:
parent
1d9c4c559b
commit
3ca1d0f1d5
@ -43929,6 +43929,7 @@ This method controls whether the position between two cached points is interpola
|
||||
<argument index="0" name="from" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Cast an [int] value to a boolean value, this method will return true if called with an integer value different to 0 and false in other case.
|
||||
</description>
|
||||
</method>
|
||||
<method name="bool">
|
||||
@ -43937,6 +43938,7 @@ This method controls whether the position between two cached points is interpola
|
||||
<argument index="0" name="from" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Cast a [float] value to a boolean value, this method will return true if called with a floating point value different to 0 and false in other case.
|
||||
</description>
|
||||
</method>
|
||||
<method name="bool">
|
||||
@ -43945,6 +43947,7 @@ This method controls whether the position between two cached points is interpola
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Cast a [String] value to a boolean value, this method will return true if called with a non empty string and false in other case. Examples: [code]bool('False')[/code] returns true, [code]bool('')[/code]. returns false
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
Loading…
Reference in New Issue
Block a user