Method ToBool

ToBool()

Returns the objects value converted to a boolean. Only applicable for objects of type Number.

Declaration
bool ToBool()
Returns
Type Description
bool

true if the object contains a non zero value; otherwise false

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next