EnumTEnumIsDefined(TEnum) Method

Gets whether value is defined in TEnum.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public static bool IsDefined(
	TEnum value
)

Parameters

value  TEnum
A TEnum value.

Return Value

Boolean
if TEnum has a defined field that equals value; otherwise, .

See Also