virtualp |
Discworld driver help |
virtualp |
Name
virtualp() - determine whether a given object is virtual
Synopsis
varargs int virtualp( mixed arg );
Description
Returns true (1) if the argument is objectp() and the O_VIRTUAL flag is set. The driver sets the O_VIRTUAL flag for those objects created via the compile_object() function in the master object. If `arg' is not specified, this_object() is used.