Function wlambda::selector::create_selector_function[][src]

pub fn create_selector_function(
    sel: &str,
    result_ref: VVal
) -> Result<VVal, ParseError>
Expand description

Creates a WLambda function that takes a VVal data structure and runs the given selector expression on it. The returned function then returns a list of captured nodes or $none if nothing was found.