Handle Objects

DESCRIPTION:

Get the character string type of the specified handle.

Note: This function is deprecated. For more information, see .

USAGE:

handle.type(x) 

REQUIRED ARGUMENTS:

x
a S-PLUS handle object.

VALUE:

Returns the character string that was used as the type argument to the handle function when the handle was created.

DETAILS:

When a handle is created, a character string type is associated with it and stored internally. This function just returns that string.

SEE ALSO:

EXAMPLES:

if(handle.type(misc.handle) == "door") door.open(misc.handle)