We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756c91e commit f4d07c1Copy full SHA for f4d07c1
scala-libraries-standalone/refined/src/main/scala/com/baeldung/refined/RefinedIntro.scala
@@ -13,6 +13,7 @@ import eu.timepit.refined.api.Validate
13
object RefinedIntro {
14
// val oddNumber: Refined[Int, Odd] = 8
15
// val oddNumber: Int Refined Odd = 8
16
+
17
val age: Int Refined Less[35] = 30
18
val ageInterval: Int Refined Interval.Closed[30, 35] = 35
19
val age2: Int Refined GreaterEqual[35] = 35
0 commit comments