referrerpolicy=no-referrer-when-downgrade

Function polkadot_sdk_frame::prelude::frame_system::split_inner

pub fn split_inner<T, R, S>(
    option: Option<T>,
    splitter: impl FnOnce(T) -> (R, S),
) -> (Option<R>, Option<S>)
Expand description

Split an option into two constituent options, as defined by a splitter function.