Handle Object

DESCRIPTION:

Test for objects of class handle. Handle objects are primarily used to hide the underlying data or refer to data structures in object code - for instance, process ID numbers and file descriptor numbers by process objects.

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

USAGE:

is.handle(x) 

REQUIRED ARGUMENTS:

x
a S-PLUS object.

VALUE:

returns TRUE if x is of class handle (or derived from that class) and FALSE otherwise.

DETAILS:

This function just checks to see if an object inherits from the class handle . It does not check to see if the handle is valid or in use for the current S-PLUS session.

SEE ALSO:

, ,

EXAMPLES:

if(is.handle(xx) && handle.valid(xx)) print("It's a valid handle")