File_Find::isError PHP Method

isError() public method

Determine whether or not a variable is a PEAR error
public isError ( &$var ) : boolean
return boolean returns true if the variable is a PEAR error, otherwise it returns false.
    function isError(&$var)
    {
        return PEAR::isError($var);
    }