int clonep(object obj)
int clonep(string obj)
int clonep(mixed arg)
The efun returns 1 if <obj> is a clone, and 0 if it is not.
The <obj> can be given as the object itself, or by its name.
If <obj> is omitted, the current object is tested.
Arguments of other types return 0.
Objects with replaced programs no longer count as clones.
o = clone_object("/std/thing");
write(clonep(o)); --> writes "1"
write(clonep("/std/thing")) --> writes "0"
(In COMPAT_MODE use "std/thing" as the filename)
Introduced in LDMud 3.2.6, changed in 3.2.7 so that objects
with replaced programs no longer count as clones.
load_name(E), clone_object(E), clones(E), bytesp(E), closurep(E),
floatp(E), mappingp(E), objectp(E), intp(E), referencep(E),
pointerp(E), stringp(E), symbolp(E), structp(E)