JQuery: How do I determine if a slideToggle has been toggled?
<p>How do I do the following pseudo code in JQuery?</p>

<pre><code>$(document).ready(function(){
    $(".btn-slide").click(function(){
        $("#divToSlide").slideToggle("fast");
        if ($(this).isToggled) {  // &lt;---- DOESN'T WORK -------
            // do something when toggled
        } else {
            // do something different when not toggled
        }
    });  
});
</code></pre>
