• Function to check a variable and sets it to 'null' if the statement is true.