Is there any way to stop the execution of a called function from another function?
I have following code:-
function MainFunction() { //a long code that r
I think you are trying to stop the execution of other function call from a function. if yes then you need to put the called function inside the condition so that you can control the execution.
if my understanding is not correct please elaborate what you want to do , mens why want to stop the execution of the function.