BooleanArray
An array of booleans. When targeting the JVM, instances of this class are represented as boolean[].
Since Kotlin
1.0Constructors
Creates a new array of the specified size, where each element is calculated by calling the specified init function.
Creates a new array of the specified size, with all elements initialized to false.
Functions
Properties
Extensions
Returns new array which is a copy of the original array.
Returns new array which is a copy of the original array, resized to the given newSize. The copy is either truncated or padded at the end with false values if necessary.
Returns a new array which is a copy of the specified range of the original array.
Returns an array containing all elements of the original array and then the given element.
Returns an array containing all elements of the original array and then all elements of the given elements collection.
Returns an array containing all elements of the original array and then all elements of the given elements array.
Returns a new SortedSet of all elements.
Returns a typed object array containing all of the elements of this primitive array.