All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.is.es.js Maven / Gradle / Ivy

There is a newer version: 10.17.0
Show newest version
const isNumber = (value) => typeof value === "number";
const isString = (value) => typeof value === "string";
const isEasingGenerator = (easing) => typeof easing === "object" &&
    Boolean(easing.createAnimation);
const isCubicBezier = (easing) => Array.isArray(easing) && isNumber(easing[0]);
const isEasingList = (easing) => Array.isArray(easing) && !isNumber(easing[0]);

export { isCubicBezier, isEasingGenerator, isEasingList, isNumber, isString };




© 2015 - 2024 Weber Informatics LLC | Privacy Policy