Konstant
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Konstant
konstant-annotations
/
io.github.fiol_dev.konstant.annotations
/
Range
Range
@
Target
(
allowedTargets
=
[
AnnotationTarget.PROPERTY
]
)
annotation class
Range
(
val
min
:
Double
=
Double.NEGATIVE_INFINITY
,
val
max
:
Double
=
Double.POSITIVE_INFINITY
)
(
source
)
The number (Int, Long, Double or Float) must be within
min
..
max
, inclusive.
Members
Properties
max
Link copied to clipboard
val
max
:
Double
min
Link copied to clipboard
val
min
:
Double