Table of Contents

Method FastIsDefined

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

FastIsDefined(ColorName16, int)

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

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

Parameters

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