inherits(3)

NAME
inherits() - determine if an object inherits a given file

SYNOPSIS
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.

SEE ALSO
deep_inherit_list(3), inherit_list(3)