shimdh
4/14/2014 - 5:43 AM

checking all keys exist in collection.

checking all keys exist in collection.

"use strict";
var _ = require('underscore');
require('underscore-contrib');
module.exports = function(collection) {
    return _.every(_.map(collection, function(key) {
        return _.exists(key);
    }));
};