Documented bool methods

This commit is contained in:
Daniel J. Ramirez 2016-05-02 13:32:29 -05:00
parent 1d9c4c559b
commit 3ca1d0f1d5
1 changed files with 3 additions and 0 deletions

View File

@ -43929,6 +43929,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="from" type="int"> <argument index="0" name="from" type="int">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="bool"> <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 index="0" name="from" type="float">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="bool"> <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 index="0" name="from" type="String">
</argument> </argument>
<description> <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> </description>
</method> </method>
</methods> </methods>