Skip to main content

extract_selector

Function extract_selector 

Source
pub fn extract_selector(node: &Value) -> Option<(String, &'static str)>
Expand description

Extract the selector from a declaration node. Returns (selector_hex, selector_kind) where kind is “function”, “error”, or “event”.