trait_exists

Function trait_exists 

Source
pub fn trait_exists(codebase: &CodebaseMetadata, name: &str) -> bool
Expand description

Checks if a trait exists in the codebase.

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