MCPcopy Index your code
hub / github.com/immutable-js/immutable-js / validateEntry

Function validateEntry

src/Operations.js:938–942  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

936}
937
938function validateEntry(entry) {
939 if (entry !== Object(entry)) {
940 throw new TypeError('Expected [K, V] tuple: ' + entry);
941 }
942}
943
944function collectionClass(collection) {
945 return isKeyed(collection)

Callers 2

__iterateMethod · 0.85
__iteratorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected