Method FastIsDefined | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui.EnumExtensions

Assembly

Terminal.Gui.dll

FastIsDefined(Side, int)

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

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

Parameters

_ Side

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.

Edit this page