doc: fix jsdoc definition of assert.ifError() fn in lib/assert.js

PR-URL: https://github.com/nodejs/node/pull/58573
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Jordan Harband <ljharb@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
jesh 2025-06-27 19:00:51 +05:30 committed by GitHub
parent cdadb20ae1
commit eaebfab299
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -682,7 +682,7 @@ assert.doesNotReject = async function doesNotReject(fn, ...args) {
};
/**
* Throws `value` if the value is not `null` or `undefined`.
* Throws `AssertionError` if the value is not `null` or `undefined`.
* @param {any} err
* @returns {void}
*/