package dev.inmo.micro_utils.common @Suppress("UNCHECKED_CAST", "SimplifiableCall") inline fun Iterable.mapNotNullA(transform: (T) -> R?): List = map(transform).filter { it != null } as List @Suppress("UNCHECKED_CAST", "SimplifiableCall") inline fun Array.mapNotNullA(mapper: (T) -> R?): List = map(mapper).filter { it != null } as List