clearFlag

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

Clears the specified flag from this bit field. Returns a new BitField with the flag cleared.

Return

New BitField with the flag cleared

Parameters

flag

The flag to clear


Clears the specified flags from another BitField.

Return

New BitField with the flag(s) cleared

Parameters

other

BitField containing the flag(s) to clear