mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-10 22:12:59 +00:00
firstNotNull and LinkedSupervisor(Job|Scope)
This commit is contained in:
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 }!!
|
||||
Reference in new issue
Block a user