db.get(d.key, function (err, value) { if (err) console.error(err.stack) refute(err) assert[assertType](d.value, value) callback() })