UNPKG

motion-dom

Version:
17 lines (14 loc) • 473 B
import { color } from '../color/index.mjs'; import { complex } from '../complex/index.mjs'; import { dimensionValueTypes } from '../dimensions.mjs'; import { testValueType } from '../test.mjs'; /** * A list of all ValueTypes */ const valueTypes = [...dimensionValueTypes, color, complex]; /** * Tests a value against the list of ValueTypes */ const findValueType = (v) => valueTypes.find(testValueType(v)); export { findValueType }; //# sourceMappingURL=find.mjs.map