# flatten

open fun <T : Collection<out Any>?> flatten(elements: Array<Any>, addTo: T, flattenMaps: Boolean): T(source)
open fun <T : Collection<out Any>?> flatten(elements: Array<Any>, addTo: T): T(source)
open fun <T : Collection<out Any>?> flatten(elements: Collection<out Any>, addTo: T): T(source)
open fun <T : Collection<out Any>?> flatten(elements: Collection<out Any>, addTo: T, flattenMapsAndArrays: Boolean): T(source)
open fun <T : Collection<out Any>?> flatten(elements: Collection<out Any>, addTo: T, flattenMaps: Boolean, flattenArrays: Boolean): T(source)
open fun flatten(elements: Collection<Any>, flattenMapsAndArrays: Boolean): List<Any>(source)
open fun flatten(elements: Collection<Any>): List<Any>(source)