feat(if): add conditional "if" function