Function nu_plugin_core::util::with_custom_values_in

source ยท
pub fn with_custom_values_in<E>(
    value: &mut Value,
    f: impl FnMut(Spanned<&mut Box<dyn CustomValue>>) -> Result<(), E>
) -> Result<(), E>
where E: From<ShellError>,
Expand description

Do something with all CustomValues recursively within a Value. This is not limited to plugin custom values.