Hastype()

From TinyMUX
Revision as of 08:04, 28 November 2010 by Ihavenomouth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HASTYPE()

hastype(<object>, <type>)

Returns 1 if the object is of the named type, otherwise 0. Valid types are: ROOM, EXIT, PLAYER, THING. If an invalid type is given, #-1 is returned.

Related Topics

type()