Function try_unwrap_values

Source
fn try_unwrap_values<S: AbstractStored>(
    stored_values: Vec<S>,
    expected_store_id: StoreId,
) -> Result<Vec<S::BareTy>, RuntimeError>
Expand description

Helper method for checking if all Values in a slice have the given StoreId and then, if the check was true, converting them to a Vec<Value>.

ยงErrors