'use strict';

var index = require('../color/index.js');
var index$1 = require('../complex/index.js');
var dimensions = require('../dimensions.js');
var test = require('../test.js');

/**
 * A list of all ValueTypes
 */
const valueTypes = [...dimensions.dimensionValueTypes, index.color, index$1.complex];
/**
 * Tests a value against the list of ValueTypes
 */
const findValueType = (v) => valueTypes.find(test.testValueType(v));

exports.findValueType = findValueType;
