EnumTEnumIsSingleFlag(Int64) Method
Gets whether only a single bit is set in value. It is not checked, whether this flag is defined in TEnum.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public static bool IsSingleFlag(
long value
)
Public Shared Function IsSingleFlag (
value As Long
) As Boolean
public:
static bool IsSingleFlag(
long long value
)
static member IsSingleFlag :
value : int64 -> bool
- value Int64
- The value to check.
Boolean, if
value falls into the range of
TEnum range
and only a single bit is set in
value; otherwise,
.