hasFlag

Checks if a value has a specific flag set.

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

Parameters

value T

The value to check for the flag.

flag T

The flag to check within the value.

Return Value

Type: bool

A boolean indicating whether the flag is set in the value.

Meta