isResolved

  • function
can.Deferred.prototype.isResolved  

Determine whether a Deferred has been resolved.

deferred.isResolved()

Returns

{Boolean}

Whether this Boolean has been resolved.

deferred.isResolved() returns whether a Deferred object has been resolved.

var def = can.Deferred();
var resolved = def.isResolved();