Table of Contents

Method PeekOrDefault

Namespace
Terminal.Gui.Editor.Document.Utils
Assembly
Terminal.Gui.Editor.dll

PeekOrDefault<T>(ImmutableStack<T>)

public static T? PeekOrDefault<T>(this ImmutableStack<T> stack)

Parameters

stack ImmutableStack<T>

Returns

T

Type Parameters

T