All files / construct/domain_layer/library/structure/hash_map ImmutableHashMap.bs.js

100% Statements 13/13
100% Branches 0/0
100% Functions 1/1
100% Lines 13/13

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25    7x     21x 21x 21x     7x   7x   7x   7x   7x 7x 7x 7x 7x    
'use strict';
 
var HashMap$Wonderjs = require("./HashMap.bs.js");
 
function set(map, key, value) {
  var newMap = HashMap$Wonderjs.copy(map);
  newMap[key] = value;
  return newMap;
}
 
var createEmpty = HashMap$Wonderjs.createEmpty;
 
var get = HashMap$Wonderjs.get;
 
var getNullable = HashMap$Wonderjs.getNullable;
 
var has = HashMap$Wonderjs.has;
 
exports.createEmpty = createEmpty;
exports.set = set;
exports.get = get;
exports.getNullable = getNullable;
exports.has = has;
/* No side effect */