![JAR search and dependency download from the Maven repository](/logo.png)
package.dist.easing.cjs.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils Show documentation
Show all versions of utils Show documentation
A collection of utility functions for animations.
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var is = require('./is.cjs.js');
var wrap = require('./wrap.cjs.js');
function getEasingForSegment(easing, i) {
return is.isEasingList(easing)
? easing[wrap.wrap(0, easing.length, i)]
: easing;
}
exports.getEasingForSegment = getEasingForSegment;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy