Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > is_container

API Function: is_container

Summary:
query whether exit is a container

Defined In LPC Object:
/usr/common/lib/exit.c

Prototype:
int is_container(void)

Can Be Called By:
Anybody

Description:

Returns true if the object is a container, false otherwise.

This function isn't access-protected. You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

Whether the object is a container.

Errors:
Usually none.

See Also:
is_open , is_openable