CastBool

Category: Variables
Since engine version: 4.9.6.0 CR

Description

Converts some value into a boolean (true, false). It returns true for everything except 0, false and nil.

Syntax

bool CastBool (any Value);

Parameter

Value:
Data to convert.
See also: CastAny, CastC4ID, CastInt
Fulgen, August 2016