bool

Converts a number to bool: 0 and na are false, anything else true.

bool(x: int/float) -> bool

Parameters

Example

bool(volume)