getExtra(key)
Returns and extra.
Arguments
key
(string): A string used to find and fetch item's extra under.
Returns
(object): The extra
part of Item.
(undefined): If item is not found (thus no extra can be taken from it), returns undefined
.
Example
Last updated