hasState

expect open fun hasState(state: UShort): Boolean

Check if the object is in a given state or not.

Return

A value of true if the object is in state.

Parameters

state

A state or combination of states to check.


expect open fun hasState(state: LvglState): Boolean

Check if the object is in a given state or not.

Return

A value of true if the object is in state.

Parameters

state

The state to check.

actual open fun hasState(state: UShort): Boolean
actual open fun hasState(state: LvglState): Boolean
actual open fun hasState(state: UShort): Boolean
actual open fun hasState(state: LvglState): Boolean