Skip to main content

sanitize_identifier

Function sanitize_identifier 

Source
pub fn sanitize_identifier(value: &str) -> String
Expand description

Makes an arbitrary tool name safe for use as a JavaScript identifier.