Mission Control Dashboard - Initial implementation
This commit is contained in:
16
node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
generated
vendored
Normal file
16
node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { isZeroValueString } from 'motion-utils';
|
||||
|
||||
function isNone(value) {
|
||||
if (typeof value === "number") {
|
||||
return value === 0;
|
||||
}
|
||||
else if (value !== null) {
|
||||
return value === "none" || value === "0" || isZeroValueString(value);
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
export { isNone };
|
||||
//# sourceMappingURL=is-none.mjs.map
|
||||
Reference in New Issue
Block a user