hasFlag

fun hasFlag(flag: T): Boolean(source)

Checks if the specified flag is set in this bit field.

Return

true if the flag is set, false otherwise

Parameters

flag

The flag to check