- Reference >
- mongo Shell Methods >
- Object Constructors and Methods >
- WriteResult.hasWriteError()
WriteResult.hasWriteError()¶
On this page
Definition¶
- WriteResult.hasWriteError()¶
Returns true if the result of a mongo shell write method has WriteResult.writeError. Otherwise, the method returns false.
See also
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.