Version 1 of bool

Updated 2007-11-10 21:06:04 by dkf

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