Method
Tap
func Tap(action: T -> ()) -> Optional<T>
Declaring type: Optional<T>
Namespace: System
Assembly: Raven.Core.dll
Source file: Optional.rvn
Runs action if this is Some, returning the original option.
Parameters
| Name | Type | Description |
|---|---|---|
action |
T -> () |
Return value
Optional<T>