Evaluate $type and $value as the other vars, for better logic