Kotools Types
4.3.0
4.5.2
4.5.1
4.5.0
4.4.2
4.3.1
4.3.0
4.2.0
4.1.0
4.0.1
4.0.0
3.2.0
2.0.0
1.3.1
Kotools Types
/
kotools.types.range
/
contains
contains
@
ExperimentalRangeApi
@
ExperimentalSinceKotoolsTypes
(
version
=
"4.2"
)
operator
fun
<
T
:
Comparable
<
T
>
>
NotEmptyRange
<
T
>
.
contains
(
value
:
T
)
:
Boolean
Returns
true
if this range contains the given
value
, or returns
false
otherwise.