micro_utils.dokka
0.19.8
common
micro_utils.dokka
/
dev.inmo.micro_utils.pagination.utils
/
optionallyReverse
optionally
Reverse
fun
<
T
>
Iterable
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Iterable
<
T
>
fun
<
T
>
List
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
List
<
T
>
fun
<
T
>
Set
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Set
<
T
>
inline
fun
<
T
>
Array
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Array
<
T
>
fun
Pagination
.
optionallyReverse
(
objectsCount
:
Int
,
reverse
:
Boolean
)
:
Pagination
fun
Pagination
.
optionallyReverse
(
objectsCount
:
Long
,
reverse
:
Boolean
)
:
Pagination