Difference between a ##5 b and a |->##5 b

In reply to dave_59:

Thanks for the reply dave_59.

Can we apply assertions inside if else ?