IOOption<R>.some constructor
IOOption<R>.some (
- R r
Build a IOOption that returns a Some(r)
.
Same of IOOption.of
.
Implementation
factory IOOption.some(R r) => IOOption(() => Option.of(r));
Build a IOOption that returns a Some(r)
.
Same of IOOption.of
.
factory IOOption.some(R r) => IOOption(() => Option.of(r));