Function leptos_use::use_sorted_by

source ยท
pub fn use_sorted_by<S, I, T, F>(iterable: S, cmp_fn: F) -> Signal<I>
where S: Into<MaybeSignal<I>>, I: DerefMut<Target = [T]> + Clone + PartialEq, F: FnMut(&T, &T) -> Ordering + Clone + 'static,
Expand description

Version of use_sorted with a compare function.