I have a complicated method with if else if else constructs in typescript. Its a void method. How do i break from the method on some particular if condition so that other conditions need not to be executed. This helps me in avoiding the else condition ;I can keep on writing if
In Java this can be achieved using return; inside the void method.