Table of Contents

Method FastIsDefined

Namespace
Terminal.Gui.EnumExtensions
Assembly
Terminal.Gui.dll

FastIsDefined(AddOrSubtract, int)

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

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

Parameters

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