TypedItemFindPreviousOption
Callable
Parameters
data: ExtendedItemData<T> & { options: T[] }
item: Item
The equipped item
Returns T
- The option which is currently applied to the item, or the first item in the options array if no type is set.
The equipped item
Finds the currently set option on the given typed item