Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 39x 39x 39x 39x 124x | import { color, complex } from "style-value-types" import { dimensionValueTypes } from "./dimensions" import { testValueType } from "./test" /** * A list of all ValueTypes */ const valueTypes = [...dimensionValueTypes, color, complex] /** * Tests a value against the list of ValueTypes */ export const findValueType = (v: any) => valueTypes.find(testValueType(v)) |