3 ms·
I wonder if, for "if," you could just detect that your magical variable was being cast to a boolean, and run the function twice, once where it returns true, and
by apendleton 13y ago
I wonder if, for "if," you could just detect that your magical variable was being cast to a boolean, and run the function twice, once where it returns true, and once false, so you could exercise both branches. I guess this could get a little pathological if you had multiple conditionals and their nesting was really complicated, but I bet you could do simple conditionals...