uintArrayOf

@ExperimentalUnsignedTypes
fun uintArrayOf(range: UIntRange): UIntArray

Return an un-sign integer Array from un-sign int range.

Example:

uIntArrayOf(1u..10u) // [1u, 2u, 3u, 4u, 5u, 6u, 7u, 8u, 9u, 10u]

Since

1.1.0

See also

UIntArray
UIntRange

@ExperimentalUnsignedTypes
fun uintArrayOf(progression: UIntProgression): UIntArray

Return an un-sign integer Array from un-sign int progression.

Example:

uIntArrayOf(1u..10u step 2) // [1u, 3u, 5u, 7u, 9u]

Since

1.1.0

See also

UIntArray
UIntProgression