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

7 lines
159 B
JavaScript

// Predicate-generating function. Often useful outside of Underscore.
export default function constant(value) {
return function() {
return value;
};
}