Misc Deferred Isrejected
# jQuery deferred.isRejected() Method
[jQuery Misc Methods](#)
* * *
## Definition and Usage
The deferred.isRejected() function is used to determine whether the Deferred object has been rejected.
**Note:**1. Deprecated since jQuery 1.7, please use deferred.state() instead. Returns true if the Deferred object is in the rejected state. This means that deferred.reject() or deferred.rejectWith() has been called on the object, and failCallbacks have been called (or are in the process of being called).
2. A Deferred object can be in three states: pending, resolved, or rejected; use deferred.isResolved() to determine if the Deferred object is in the resolved state.
* * *
## Syntax
**Tip:** This method does not accept any parameters.
deferred.isRejected()
* * jQuery Misc Methods](#)
YouTip