mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Add support for CDSI.
This commit is contained in:
committed by
Cody Henthorne
parent
8407f2ff69
commit
9ab275195f
@@ -8,4 +8,8 @@ fun <E> Optional<E>.or(other: Optional<E>): Optional<E> {
|
||||
} else {
|
||||
other
|
||||
}
|
||||
}
|
||||
|
||||
fun <E> Optional<E>.isAbsent(): Boolean {
|
||||
return !isPresent
|
||||
}
|
||||
Reference in New Issue
Block a user