Skip to main content

dispatch_tidy_method

Function dispatch_tidy_method 

Source
pub fn dispatch_tidy_method(
    inner: &Rc<dyn Any>,
    method: &str,
    args: &[Value],
) -> Result<Option<Value>, String>
Expand description

Dispatch a method call on a Value::TidyView.

Returns Ok(Some(value)) if the method is known, Ok(None) if not recognised (allows the caller to fall through to other dispatch paths).