All files / build/PostCSSPrefixWrap hash.js

90% Statements 9/10
75% Branches 3/4
66.67% Functions 2/3
90% Lines 9/10

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  1x 1x   1x 14x     14x   2x   12x   1x   1x  
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Hash = /** @class */ (function() {
  function Hash() {}
  Hash.value = function(hash, key, defaultValue) {
    Iif (defaultValue === void 0) {
      defaultValue = null;
    }
    if (Object.prototype.hasOwnProperty.call(hash, key)) {
      // @ts-ignore
      return hash[key];
    }
    return defaultValue;
  };
  return Hash;
})();
exports.default = Hash;