image2text

Untitled

Jul 30th, 2019
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. LN
  2. fun <T> Option<T>.getOrThrow(e: Throwable = RuntimeException("Option is empty")): T =
  3. this.getOrElse { throw e }
Advertisement
Add Comment
Please, Sign In to add comment