Member group
Equals
Declaring type: ConsoleKeyInfo
Module: System
Assembly: System.Runtime.dll
Source file: ConsoleKeyReader.rvn
Overloads / Variants
Equals
func Equals(other: ConsoleKeyInfo) -> bool
Source file: ConsoleKeyReader.rvn
Implements EquatableTo<ConsoleKeyInfo>.Equals
Compares key identity, modifiers, and the TextScalar case and payload by value.
Parameters
| Name | Type | Description |
|---|---|---|
other |
ConsoleKeyInfo | The key to compare. |
Return value
True when every field is equal.
Equals
virtual override func Equals(obj: object?) -> bool
Source file: ConsoleKeyReader.rvn
Overrides Object.Equals
Returns true when the object is an equal ConsoleKeyInfo; null and other types return false.
Parameters
| Name | Type | Description |
|---|---|---|
obj |
Object? | The boxed key to compare. |