mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
doc: fix optionality of callback arg of checkPrime
The callback argument is required. PR-URL: https://github.com/nodejs/node/pull/44311 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
1 parent
d3f3bf602d
commit
a93371205b
1 file changed
+1
-1
+1
-1
@@ -2904,7 +2904,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js.
|
||||
This property is deprecated. Please use `crypto.setFips()` and
|
||||
`crypto.getFips()` instead.
|
||||
|
||||
### `crypto.checkPrime(candidate[, options[, callback]])`
|
||||
### `crypto.checkPrime(candidate[, options], callback)`
|
||||
|
||||
<!-- YAML
|
||||
added: v15.8.0
|
||||
|
||||
Reference in new issue
Block a user