public native Boolean(value as Float)
Builds a Boolean from a floating-point value. Zero becomes false, every other value becomes true.
| Parameter | Description |
|---|---|
value | the floating-point value to convert. |
assert not Boolean(0.0f) assert Boolean(1.5f)