Method
Peek
abstract virtual func Peek() -> Optional<T>
Declaring type: Stack<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: Stack.rvn
Defined by Stack<T>.Peek · Required implementation (no default).
Interface implementation: Required implementation (no default).
Observes the next element without removing it, or returns None.
Return value
Optional<T>