Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ isJwk
Function
isJwk
lib/internal/crypto/keygen.js:80–82 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
78
const
{ isArrayBufferView } = require(
'internal/util/types'
);
79
80
function
isJwk(obj) {
81
return
obj != null && obj.kty !== undefined;
82
}
83
84
function
wrapKey(key, ctor) {
85
if
(typeof key ===
'string'
||
Callers
1
wrapKey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected