Apply doIf if p is possible. doIf receives the probability of the event (non-zero).
See Implementation
Apply doIf if p is possible. doIf receives the probability of the event (non-zero).