combineConfig
fun <Config> combineConfig(configs: List<Map<String, Any?>>, defaults: Map<String, Any?>, combine: Map<String, (Any?, Any?) -> Any?> = emptyMap()): Map<String, Any?>
Utility function for combining behaviors to fill in a config object from an array of provided configs. defaults should hold default values for all optional fields in the config.
The function will, by default, error when a field gets two values that aren't ===-equal, but you can provide combine functions per field to do something else.