micro_utils.dokka
Toggle table of contents
0.24.1
common
Platform filter
common
Switch theme
Search in API
micro_utils.dokka
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
)