price-history/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js
2024-01-11 04:28:21 +05:30

11 lines
192 B
JavaScript

'use strict';
module.exports = function SkipPopulateValue(val) {
if (!(this instanceof SkipPopulateValue)) {
return new SkipPopulateValue(val);
}
this.val = val;
return this;
};