var a = {
        b: {
            aa: 'hello',
            bb: 'you',
            cc: 'guys'
            }
    }
    var b = function(){ 
        $.each(a.b, function(x){                
            if( $.isFunction(x) == 'function' ){
                alert(x);
            };
        });
    };
    var aa = function(){
        var dude = 'hi there';
    }
    b();
I have an each loop inside the b function.
What i would like to do is loop through the a.b values, and find if a function exists with it's name. In this case the only one that should trigger is 'aa' as function 'aa exists.
is the isfunction line correct? or would typeof work?
 
     
    