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

package.lib.is.js Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy