Version 2 of bool

Updated 2012-06-25 07:37:54 by RLE

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.)