get_item_dictionary_value()
- Get a element of item dictionary.
Edit
Edit
| fields | type | description |
|---|---|---|
| item_id | string | id of item |
| dictionary_id | string | id of dictionary |
Edit
- dictionary value if item and dictionary element exists; nil if element doesn’t exist in dictionary.
Edit
local core = require "core"
local item_id = "588b7eb528b12d03be86f36f"
local dictionary_id = "dict_id"
local value = core.get_item_dictionary_value( item_id, dictionary_id )
print(value)