Created
April 26, 2018 20:51
-
-
Save joshskeen/1c34ba492b25a4b6542647dddd974459 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val type = hitTarget.run { | |
when { | |
isImage && isLink -> “image+link” | |
isImage -> “image” | |
else -> “link” | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment