-
Home
-
API
-
SharpYaml
-
EventReader
-
Methods
-
Peek()
Peek() Method
Definition
Gets the next event without consuming it.
public T? Peek<T>()
where T : ParsingEvent
Type parameters
Returns
- {T}
- Returns the current event if it is of type T; otherwise returns null.