list.has
Checks whether a list holds a picked entry.
Signature
list.has(ref: ElementRef, key: string, item: ContentRef): boolean
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ref | ElementRef | Required | The element it works on, usually self. |
key | string | Required | The name of the list. |
item | ContentRef | Required | The entry the player picked. |
Returns
boolean True when the list holds the entry.

