pub fn is_ident(string: &str) -> boolExpand description
Whether a string is a valid Typst identifier.
In addition to what is specified in the Unicode Standard, we allow:
_as a starting character,_and-as continuing characters.
pub fn is_ident(string: &str) -> boolWhether a string is a valid Typst identifier.
In addition to what is specified in the Unicode Standard, we allow:
_ as a starting character,_ and - as continuing characters.