toggle menu
micro_utils.dokka
0.20.5
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
intersect
intersect
fun
<
T
:
Comparable
<
T
>
>
ClosedRange
<
T
>
.
intersect
(
other
:
ClosedRange
<
T
>
)
:
Pair
<
T
,
T
>
?
(
source
)
fun
IntRange
.
intersect
(
other
:
IntRange
)
:
IntRange
?
(
source
)
fun
LongRange
.
intersect
(
other
:
LongRange
)
:
LongRange
?
(
source
)