exec2 adds isTRUE(x)

isTRUE(x) returns 1 only if x is double and is equal to 1

isTRUE(x) 's type is t -> dbl