Function enum_exists

Source
pub fn enum_exists(
    codebase: &CodebaseMetadata,
    interner: &ThreadedInterner,
    id: &StringIdentifier,
) -> bool
Expand description

Checks if an enum exists in the codebase.

This lookup is case-insensitive, in line with PHP’s behavior for enum names.