Skip to main content

starts_with_a_key

Function starts_with_a_key 

Source
pub fn starts_with_a_key(what: &str) -> bool
Expand description

Whether what starts with a key, a path or a name rather than a word: its first word followed by : (type: expected …), or holding ., _, =, a digit, a quote or a backtick (tags.nine, "day"). sentence leaves it as written.