EMethods.isBool

Checks if e has a boolean value.

class EMethods
static
int
isBool
(
Expression e
)

Return Value

Type: int

-1 if not a bool, 0 if the value is false and 1 if true.

Meta