Created
October 25, 2018 11:42
-
-
Save abohomol/d87eef4ad1c23a90827fee9ce3c2dc5a 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
public inline fun CharSequence?.isNullOrEmpty(): Boolean { | |
... | |
} | |
public inline fun String?.orEmpty(): String { | |
... | |
} | |
public val CharSequence.indices: IntRange { | |
... | |
} | |
public fun CharSequence.hasSurrogatePairAt(index: Int): Boolean { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment