Default

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
trait () => O
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function0 -> Any
Inherited from:
Function0

Inherited and Abstract methods

def apply(): O

Applies the body of this function to the arguments.

Applies the body of this function to the arguments.

Attributes

Returns

the result of function application.

Inherited from:
Function0