toggle menu
micro_utils.dokka
0.20.8
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.pagination.utils
/
optionallyReverse
optionally
Reverse
fun
<
T
>
Iterable
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Iterable
<
T
>
(
source
)
fun
<
T
>
List
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
List
<
T
>
(
source
)
fun
<
T
>
Set
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Set
<
T
>
(
source
)
inline
fun
<
T
>
Array
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Array
<
T
>
(
source
)
fun
Pagination
.
optionallyReverse
(
objectsCount
:
Int
,
reverse
:
Boolean
)
:
Pagination
(
source
)
fun
Pagination
.
optionallyReverse
(
objectsCount
:
Long
,
reverse
:
Boolean
)
:
Pagination
(
source
)