FutureProg functions

getexistingitem

Itemscomputer function, computer program, standard futureprog

getexistingitem overload 1

Item getexistingitem(Number id)
Available in
  • computer function
  • computer program
  • standard futureprog
Finds an existing item by ID, loading its persisted instance if necessary. Never creates from a prototype. Missing or invalid IDs return null.
ParameterTypeDescription
id Number The durable ID of an existing item, including one not currently loaded.