toggleFlag

fun toggleFlag(flag: T): BitField<T>(source)

Toggles the specified flag in this bit field.

Return

New BitField with the flag toggled

Parameters

flag

The flag to toggle