Namespace: getName

getName(item, optionsopt) → {string}

Parameters:
Name Type Attributes Description
item object

The in-game item

options object <optional>

The options can include indefinite or definite article, possessive, pronoun, count, or pluralAlias.

Properties:
Name Type Description
lang object
Properties
Name Type Description
getName function

Modified for this library to return an item link.

Source:
Returns:

String with the item's item link or a pronoun with no link

Type
string