GetItemLinkItemId

From ESOUI Wiki

Jump to: navigation, search

Given a string representing an item link, this function returns the item ID in that link. If the string is not a valid item link, then this function returns zero.

If the argument is not a string, then the function will attempt to convert it to a string and use it. Arguments that can't convert to strings will cause errors.

GetItemLinkItemId(itemLink)
-- Returns: number itemId

This feature was added by @ZOS_Chip_Hilseberg after a request on gitter.

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox