|  Developer
Updated on November 12, 2021

get_product_name()

  • Get hub’s product name.
Edit
  • params: none.
  • return: a hub’s product name (string) or nil in a case of an error.
Edit
				
					require "core"

local name = core.get_product_name()
if name == nil then
    print("fail to get a  hub's product name")
end