Skip to main content

classify

Function classify 

Source
pub fn classify(s: &str) -> Result<Spelled, TypedError>
Expand description

What s spells: a typed value if it’s written as one (@…), plain text otherwise; @@ escapes a leading @.

§Errors

TypedError when s starts with @ but isn’t a typed value.