inherits |
Discworld driver help |
inherits |
Name
inherits() - determine if an object inherits a given file
Synopsis
varargs int inherits( string file, object obj );
Description
inherits() returns 0 if `obj' does not inherit `file', 1 if it inherits the most recent copy of `file', and 2 if it inherits an old copy of `file'. If `obj' is not specified, this_object() is used.