Table of Contents

Method FastIsDefined

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

FastIsDefined(ModifierKey, int)

Determines if the specified int value is explicitly defined as a named value of the ModifierKey enum type.

public static bool FastIsDefined(this ModifierKey _, int value)

Parameters

_ ModifierKey
value int

Returns

bool

Remarks

Only explicitly named values return true, as with IsDefined. Combined valid flag values of flags enums which are not explicitly named will return false.