firstNotNull and LinkedSupervisor(Job|Scope)

This commit is contained in:
InsanusMokrassar committed 2021-06-11 17:32:13 +06:00
1 parent 71f9a505e0
commit 24033e0cac
4 files changed
+33

No files matched your search

@@ -0,0 +1,3 @@
package dev.inmo.micro_utils.common
fun <T> Iterable<T?>.firstNotNull() = first { it != null }!!