added type check to ifeval to allow this to be a primitive when evaluating the expression