Table of Contents

Method FastIsDefined

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

FastIsDefined(CommandOutcome, int)

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

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

Parameters

_ CommandOutcome
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.