Skip to main content

is_selector_shaped

Function is_selector_shaped 

Source
pub fn is_selector_shaped(target: &str) -> bool
Expand description

Whether target reads as a CSS selector for a mount point rather than a file path: an id (#root), a class (.app), an attribute test ([data-app]), or exactly an element name (main, body).