event.isImmediatePropagationStopped()The event.isImmediatePropagationStopped() method in jQuery will return whether event.stopImmediatePropagation() was ever called on this event object.
event.isImmediatePropagationStopped() property Examplewhether event.stopImmediatePropagation() was called.
$("button").click(function( event ) {
console.log( event.isImmediatePropagationStopped() ); // false
event.stopImmediatePropagation();
console.log( event.isImmediatePropagationStopped() ); // true
});
