Function method_exists

Source
pub fn method_exists(
    codebase: &CodebaseMetadata,
    interner: &ThreadedInterner,
    fqc_id: &StringIdentifier,
    method_id: &StringIdentifier,
) -> bool
Expand description

Checks if a method exists on a given class-like (including inherited methods).

The lookup for both the class-like name and the method name is case-insensitive.