You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
322 B

var valid_types = require( '../query/indeces' );
module.exports = function calculate_types(clean_types) {
if (!clean_types) {
return undefined;
}
if (clean_types.from_layers) {
return clean_types.from_layers;
}
if (clean_types.from_address_parser) {
return clean_types.from_address_parser;
}
};