can.List.prototype.isResolved

  • function
 

list.isResolved()

Returns if the state of the list is resolved.

Returns

{Boolean}

true if the list is resolved. false if otherwise.

Use

var data = new can.Deferred();
var list = new can.List(data);

list.done(function(){
    list.isResolved() //-> true
})

data.resolve(["a","b","c"]);