mapIndexedNotNullLaw

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