compact.js 189 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 "use strict"; var filter = require("./filter") , isValue = require("./is-value"); module.exports = function (obj) { return filter(obj, function (val) { return isValue(val); }); };