HasComponent

class HasComponent(component: Key, ignoreDefault: Boolean = false) : ConditionItemModelProperty

Returns true if a dataComponent identified by component is present on the item. To interpret default components as "no component", set ignoreDefault to true.

Constructors

Link copied to clipboard
constructor(component: Key, ignoreDefault: Boolean = false)