is_instance_of

Function is_instance_of 

Source
pub fn is_instance_of(
    codebase: &CodebaseMetadata,
    child_name: &str,
    parent_name: &str,
) -> 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.