Can I check if Bootstrap Modal currently Shown / Hidden Programatically?
Like bool a = if(\"#myModal\").shown(); ?
bool a = if(\"#myModal\").shown();
I need true/false
When modal hide? we check like this :
$('.yourmodal').on('hidden.bs.modal', function () { // do something here })