Option<T extends Object>.some constructor
const
Option<T extends Object>.some (
- T v
Create a Some option with the given value.
Implementation
const factory Option.some(T v) = Some;