Docs Menu
Docs Home
/
MongoDB Manual
/ / /

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.

Tip

See also:

Back

WriteResult()

On this page