Summary
File |
Based on all code |
Based on code coverage |
objectUtils.js |
|
8/8 |
100% |
8/8 |
Code
"use strict";
var _ = require('lodash');
function freezeRecursively(target) 0{
}{
Object.freeze(target);
Object.keys(target).forEach(function (key) 1{
}{
if (2true3false_.isObject(target[key])) 4{
}{
freezeRecursively(target[key]);
}
});
}
exports.freezeRecursively = freezeRecursively;
function isPromise(input) 5{
}{
return 6input || typeof input['then'] === 'function'input && 7typeof input['then'] !== 'function'typeof input['then'] === 'function';
}
exports.isPromise = isPromise;
//# sourceMappingURL=objectUtils.js.map