MCPcopy
hub / github.com/immutable-js/immutable-js / isLeafNode

Function isLeafNode

src/Map.js:762–766  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

760}
761
762function isLeafNode(node) {
763 return (
764 node.constructor === ValueNode || node.constructor === HashCollisionNode
765 );
766}
767
768function mergeIntoNode(node, ownerID, shift, keyHash, entry) {
769 if (node.keyHash === keyHash) {

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected