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 138517d commit 0c1d578Copy full SHA for 0c1d578
library/src/scala/quoted/Type.scala
@@ -21,7 +21,9 @@ object Type:
21
given of[T <: AnyKind](using Quotes): Type[T] = ???
22
23
24
- /** Extracts the value of singleton constant type, None otherwise.
+ /** Extracts the value of a singleton constant type.
25
+ * Returns Some of the value of the type if it is a singleton constant type.
26
+ * Returns None if the type is not a singleton constant type.
27
*
28
* Example usage:
29
* ```scala
0 commit comments