Function is_instance_of

Source
pub fn is_instance_of(
    codebase: &CodebaseMetadata,
    interner: &ThreadedInterner,
    child: &StringIdentifier,
    parent: &StringIdentifier,
) -> bool
Expand description

Checks if a class-like is an instance of another class-like.

This function checks if the child class-like is an instance of the parent class-like by looking up their metadata in the codebase.