pub fn use_abs<S, N>(x: S) -> Signal<N>where S: Into<MaybeSignal<N>>, N: Float,
Reactive abs().
abs()
Link to Demo
let (value, set_value) = create_signal(-32.25); let result: Signal<f64> = use_abs(value); // 32.25