Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

use_not

Reactive NOT condition.

Demo

Usage

use leptos::prelude::*;
use leptos_use::math::use_not;

#[component]
fn Demo() -> impl IntoView {
let (a, set_a) = signal(true);

let not_a = use_not(a);

view! { }
}

See also

Feature

This function is only available if the crate feature math is enabled

Source

Source • Demo • Docs