ship-gis/node_modules/underscore/cjs/_byValue.js
2026-01-22 09:14:01 +09:00

8 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;