When we cannot find a symbol on the right hand side of an instanceof operator, we still report the error that says the RHS must be any or assignable to Function. We really should suppress this error, or rather, we should propagate the unknown/any symbol so that there is no downstream error.

When we cannot find a symbol on the right hand side of an instanceof operator, we still report the error that says the RHS must be
anyor assignable to Function. We really should suppress this error, or rather, we should propagate the unknown/any symbol so that there is no downstream error.