Skip to main content

is_keyword_like

Function is_keyword_like 

Source
pub fn is_keyword_like(s: &str) -> bool
Expand description

Checks whether the given string is keyword-like: an @ followed by one or more ASCII letters.

Such strings are reserved for future revisions of JSON-LD. A keyword-like term that is not an actual keyword must be ignored during processing rather than treated as a term.