Leptos-Use Guide

use_not

Reactive NOT condition.

Demo

Usage

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

#[component]
fn Demo() -> impl IntoView {
let (a, set_a) = create_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

SourceDemoDocs