toggle menu
KAHelpers
androidJvm
switch theme
search in API
collections
/
dev.funkymuse.collections
/
count
count
inline
fun
<
T
>
count
(
start
:
T
,
step
:
T
,
crossinline
add
:
(
T
,
T
)
->
T
)
:
Sequence
<
T
>
fun
count
(
start
:
Byte
,
step
:
Byte
=
1
)
:
Sequence
<
Byte
>
fun
count
(
start
:
Short
,
step
:
Short
=
1
)
:
Sequence
<
Short
>
fun
count
(
start
:
Int
,
step
:
Int
=
1
)
:
Sequence
<
Int
>
fun
count
(
start
:
Long
,
step
:
Long
=
1
)
:
Sequence
<
Long
>
fun
count
(
start
:
Float
,
step
:
Float
=
1.0f
)
:
Sequence
<
Float
>
fun
count
(
start
:
Double
,
step
:
Double
=
1.0
)
:
Sequence
<
Double
>
Make an iterator that returns values starting with
start
with evenly space
step
.