@contents [<object>] [= <flags/types> = [<output type>]]
Searches the given object for items & exits that match the given flag string. For an explanation of the flags/types modifiers and the output types, see the help entry for @FIND.
Example: @contents here=DE=owner
Will list all Dark Exits who's source is your current location, giving the owner of each one.
See also @FIND, @OWNED, @ENTRANCES