.\"find an object with a given id in a given environment .DT present $MUDNAME$ driver help present .SH Name .SI 5 present() - find an object by id .EI .SH Synopsis .SI 5 object present( mixed str ); object present( mixed str, object ob ); .EI .SH Description .SP 5 5 If an object for which id(str) returns 1 exists, return it. `str' can also be an object, in `str' is searched for, instead of calling the function id(). If `ob' is given, then the search is done in the inventory of `ob', otherwise the object is searched for in the inventory of the current object, and in the inventory of the environment of the current object. .EP .SH See also .SI 5 move_object(), environment(), id() .EI