.\"determine whether or not a given variable points to a cloned object
.DT
clonep
$MUDNAME$ driver help
clonep

.SH Name
.SI 5
clonep() - determine whether or not a given variable points to a cloned object
.EI

.SH Synopsis
.SI 5
int clonep( void );
int clonep( mixed arg );
.EI

.SH Description
.SP 5 5
Returns true (1) iff `arg' is objectp() and the O_CLONE flag is set.
The driver sets the O_CLONE flag for those objects created via new()
(clone_object()).  The clonep() efun will not return true when called on
objects that are the blueprint copy (those that are loaded via call_other()
or load_object()).

Note that if clonep() returns true, then file_name() will return a string
containing a '#'.  clonep() defaults to this_object().
.EP

.SH See also
.SI 5
objectp(), new(), clone_object(), call_other(), file_name()
.EI
