Skip to main content

is_keyword

Function is_keyword 

Source
pub fn is_keyword(word: &str) -> bool
Expand description

Check if a word (case-insensitive) is a reserved keyword. Uses zero-allocation binary search with byte-level comparison.