hasFlagMasked

Checks if a value's masked portion matches a specific flag.

static pure @nogc
bool
hasFlagMasked
(
T
)
(,,)

Parameters

value T

The value to check for the flag match.

mask T

The mask to apply to the value.

flag T

The flag to match within the masked value.

Return Value

Type: bool

A boolean indicating whether the flag matches the masked value.

Meta