This repository has been archived on 2025-07-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
eternos/frontend/node_modules/underscore/amd/value.js
T
2025-01-13 09:33:52 +03:00

14 lines
379 B
JavaScript

define(function () {
// Extract the result from a wrapped (and possibly chained) object.
// This function is also aliased as `valueOf` and `toJSON`, which provide
// unwrapping proxies for some methods used in engine operations such as
// arithmetic and JSON stringification.
function value(wrapper) {
return wrapper._wrapped || wrapper;
}
return value;
});