TypedItemFindPreviousOption
Callable
Type parameters
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.
Finds the currently set option on the given typed item