Files
projektuebersicht/node_modules/underscore/cjs/constant.js
T
erik 5b20adee48 All new
alle new
2026-10-01 06:46:51 +02:00

9 lines
172 B
JavaScript

// Predicate-generating function. Often useful outside of Underscore.
function constant(value) {
return function() {
return value;
};
}
module.exports = constant;