Document Array and String get() function behavior (KT-30141)
This commit is contained in:
@@ -27,6 +27,11 @@ public interface CharSequence {
|
||||
|
||||
/**
|
||||
* Returns the character at the specified [index] in this character sequence.
|
||||
*
|
||||
* @throws [IndexOutOfBoundsException] if the [index] is out of bounds of this character sequence.
|
||||
*
|
||||
* Note that the [String] implementation of this interface in Kotlin/JS has unspecified behavior
|
||||
* if the [index] is out of its bounds.
|
||||
*/
|
||||
public operator fun get(index: Int): Char
|
||||
|
||||
|
||||
Reference in New Issue
Block a user