Return of forgotten "if"

Latest version lacks of "if" function. Just added it into exports.