Docs Menu

WriteResult.hasWriteError()

On this page

WriteResult.hasWriteError()

Returns true if the result of a mongosh write method has WriteResult.writeError. Otherwise, the method returns false.

Tip

See also:

On this page