var multipleProps = __fill.fill.props.length > 1
//args.unshift(doc)
args.push(function(err, val){
// if val is not passed, just leave it
if (arguments.length > 1 && val !== doc){
if (prop){
doc.set(prop, multipleProps ? val[prop] : val)
} else {
props.forEach(function(prop){
doc.set(prop, val[prop])
})
}
var multipleProps = __fill.fill.props.length > 1 //args.unshift(doc) args.push(function(err, val){ // if val is not passed, just leave it if (arguments.length > 1 && val !== doc){ if (prop){ doc.set(prop, multipleProps ? val[prop] : val) } else { props.forEach(function(prop){ doc.set(prop, val[prop]) }) }