package.dist.clamp.es.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.
const clamp = (min, max, v) => Math.min(Math.max(v, min), max);
export { clamp };