MCPcopy
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
85function isHTMLElement(node) {
86 return typeof node === 'object' && node !== null && node.nodeType && node.nodeName;
87}
88
89function isString(str) {
90 return typeof str === 'string';

Callers 1

startFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected