MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / isFragment

Function isFragment

02.Components/Part-2/js/vue.js:1528–1530  ·  view source on GitHub ↗

* Check if a node is a DocumentFragment. * * @param {Node} node * @return {Boolean}

(node)

Source from the content-addressed store, hash-verified

1526 */
1527
1528 function isFragment(node) {
1529 return node && node.nodeType === 11;
1530 }
1531
1532 /**
1533 * Get outerHTML of elements, taking care

Callers 5

extractContentFunction · 0.70
isRealTemplateFunction · 0.70
parseTemplateFunction · 0.70
transcludeFunction · 0.70
lifecycleMixinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected