is_mixed_case

Function is_mixed_case 

Source
pub fn is_mixed_case(s: &str, is_fn: bool, allowed_patterns: &[String]) -> bool
Expand description

Checks if a string is mixedCase.

To avoid false positives like fn increment() or uint256 counter, lowercase strings are treated as mixedCase.