funcunit
Version:
<!-- @hide title
18 lines (10 loc) • 365 B
Markdown
can.List.prototype.isPending
can.List.plugins.promise
`list.isPending()`
Returns if the [can.List::state state] of the list is pending.
{Boolean} `true` if the list is pending. `false` if otherwise.
## Use
var data = new can.Deferred();
var list = new can.List(data);
list.isPending() //-> true