made.Default
See theDefault companion object
trait Default[O] extends () => O
Type class providing a default "empty" value for optional types.
Used by @optionalParam to supply a default when no explicit default is provided. Instances are defined for Option[A] (returns None) and A | Null (returns null).
Type parameters
- O
-
the type for which a default value is provided
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article