login/node_modules/underscore/cjs/_byValue.js
2022-12-19 15:48:51 +05:30

7 lines
207 B
JavaScript

// Internal wrapper to enable match-by-value mode in `linearSearch`.
function byValue(value) {
if (!(this instanceof byValue)) return new byValue(value);
this.value = value;
}
module.exports = byValue;