Skip to content

Instantly share code, notes, and snippets.

@AniketSK
Created February 1, 2020 13:32
Show Gist options
  • Save AniketSK/5d7bc1b0cb379d2ed7812cb4a8603b75 to your computer and use it in GitHub Desktop.
Save AniketSK/5d7bc1b0cb379d2ed7812cb4a8603b75 to your computer and use it in GitHub Desktop.
Used to make when clauses exhaustive
package com.aniketkadam.dogether.extensions
val <T> T.exhaustive: T
get() = this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment