diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 9b4559473ca7e51..a08d04ec34ef8be 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1902,6 +1902,26 @@ const { })(); ``` +### Static method: `KeyObject.isCryptoKey(obj)` + + +* `obj` {Object} +* Returns: {boolean} + +Returns `true` if `obj` is a {CryptoKey}, `false` otherwise. + +### Static method: `KeyObject.isKeyObject(obj)` + + +* `obj` {Object} +* Returns: {boolean} + +Returns `true` if `obj` is a {KeyObject}, `false` otherwise. + ### `keyObject.asymmetricKeyDetails`