Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dvajs/dva
/ isHTMLElement
Function
isHTMLElement
packages/dva/src/index.js:85–87 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
83
}
84
85
function
isHTMLElement(node) {
86
return
typeof node ===
'object'
&& node !== null && node.nodeType && node.nodeName;
87
}
88
89
function
isString(str) {
90
return
typeof str ===
'string'
;
Callers
1
start
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected