-1

I need to check whether a object is Deferred or not using Jquery, how to check that?

Thanks in advance,

Madhu

Madhu
  • 2,416
  • 3
  • 15
  • 33
  • 1
    Duplicate : http://stackoverflow.com/q/10965065/1636522. –  Dec 04 '13 at 07:05
  • I tried already but its showing same issue that`s why i post this question any other way to do that? – Madhu Dec 04 '13 at 07:17

1 Answers1

0

The logic used internally by jQuery's when() method is

if(object && $.isFunction( object.promise )){
}

src: deferred.js

Arun P Johny
  • 384,651
  • 66
  • 527
  • 531