bool

expr function that "casts" a value to boolean.

Returns 1 if the argument can be interpreted as boolean truth, and 0 if it can be interpreted as boolean falsity. (Note that all non-zero integers are interpretable as boolean truth.)