This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

22 lines
571 B
JavaScript
Raw Normal View History

2021-04-02 02:24:13 +03:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = acc;
var _base = require("../base");
var _InternalAnimatedValue = _interopRequireDefault(require("../core/InternalAnimatedValue"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const procAcc = (0, _base.proc)(function (v, acc) {
return (0, _base.set)(acc, (0, _base.add)(acc, v));
});
function acc(v) {
const acc = new _InternalAnimatedValue.default(0);
return procAcc(v, acc);
}
//# sourceMappingURL=acc.js.map