mapNotNullLaw

inline fun <A, B> Array<A>.mapNotNullLaw(transform: (A) -> B?): List<B>