function types2enums( types ) {
	var out;
	var i;

	out = [];
	for ( i = 0; i < types.length; i++ ) {
		out.push( resolveEnum( types[ i ] ) ); // note: we're assuming that `types[i]` is a known data type; otherwise, the resolved enum will be `null`
	}
	return out;
}
Returns a list of data type enumeration constants.

@private
@param {Collection} types - list of types
@returns {IntegerArray} list of data type enumeration constants