object Option
- Companion
- class
Type members
Inherited types
Value members
Concrete methods
An Option factory which creates Some(x) if the argument is not null, and None if it is null.
An Option factory which creates Some(x) if the argument is not null, and None if it is null.
- Value Params
- x
the value
- Returns
Some(value) if value != null, None if value == null
An Option factory which returns None
in a manner consistent with
the collections hierarchy.
An Option factory which returns None
in a manner consistent with
the collections hierarchy.