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

Function reify

src/Operations.js:934–936  ·  view source on GitHub ↗
(iter, seq)

Source from the content-addressed store, hash-verified

932// #pragma Helper Functions
933
934export function reify(iter, seq) {
935 return iter === seq ? iter : isSeq(iter) ? seq : iter.constructor(seq);
936}
937
938function validateEntry(entry) {
939 if (entry !== Object(entry)) {

Callers 15

concatFunction · 0.90
filterFunction · 0.90
mapFunction · 0.90
reverseFunction · 0.90
sliceFunction · 0.90
sortFunction · 0.90
flatMapFunction · 0.90
flattenFunction · 0.90
skipWhileFunction · 0.90
sortByFunction · 0.90
takeWhileFunction · 0.90
flipFunction · 0.90

Calls 2

isSeqFunction · 0.90
constructorMethod · 0.45

Tested by

no test coverage detected