clearDisplayIf

fun clearDisplayIf(condition: Boolean = false): ItemBuilder(source)

Clears the display of the item if the given condition is true.

Return

the updated ItemBuilder object

Parameters

condition

true to clear the display, false otherwise