EnumTEnumIsSingleFlag(UInt64) 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
[CLSCompliantAttribute(false)]
public static bool IsSingleFlag(
ulong value
)
<CLSCompliantAttribute(false)>
Public Shared Function IsSingleFlag (
value As ULong
) As Boolean
public:
[CLSCompliantAttribute(false)]
static bool IsSingleFlag(
unsigned long long value
)
[<CLSCompliantAttribute(false)>]
static member IsSingleFlag :
value : uint64 -> bool
- value UInt64
- The value to check.
Boolean, if
value falls into the range of
TEnum range
and only a single bit is set in
value; otherwise,
.