Documented bool methods

(cherry picked from commit 3ca1d0f1d5)
This commit is contained in:
Daniel J. Ramirez 2016-05-02 13:32:29 -05:00 committed by Rémi Verschelde
parent 0b75c39c2b
commit fb3d10c579
1 changed files with 3 additions and 0 deletions

View File

@ -42513,6 +42513,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">
@ -42521,6 +42522,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">
@ -42529,6 +42531,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>