hasFlag

abstract fun hasFlag(flag: ItemFlag): Boolean

Checks whether the item has the given item flag.

Return

true if the item has the flag, false otherwise

Parameters

flag

the flag