pub mod is_ok {
use leptos::prelude::*;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_is::is_ok`](https://docs.rs/leptos-use-is/latest/leptos_use_is/fn.is_ok.html).\n\n Add the `leptos-use-is` crate to your dependencies and use `leptos_use_is::is_ok` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-is` to your dependencies and use `leptos_use_is::is_ok` instead."
)]
#[inline(always)]
pub fn is_ok<V, T>(value: V) -> Signal<bool>
where
Result<T, ()>: Send + Sync,
V: Into<Signal<Result<T, ()>>>,
T: 'static,
{
::leptos_use_is::is_ok::<V, T>(value)
}
}
pub mod is_err {
use leptos::prelude::*;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_is::is_err`](https://docs.rs/leptos-use-is/latest/leptos_use_is/fn.is_err.html).\n\n Add the `leptos-use-is` crate to your dependencies and use `leptos_use_is::is_err` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-is` to your dependencies and use `leptos_use_is::is_err` instead."
)]
#[inline(always)]
pub fn is_err<V, T>(value: V) -> Signal<bool>
where
Result<T, ()>: Send + Sync,
V: Into<Signal<Result<T, ()>>>,
T: 'static,
{
::leptos_use_is::is_err::<V, T>(value)
}
}
pub mod is_some {
use leptos::prelude::*;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_is::is_some`](https://docs.rs/leptos-use-is/latest/leptos_use_is/fn.is_some.html).\n\n Add the `leptos-use-is` crate to your dependencies and use `leptos_use_is::is_some` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-is` to your dependencies and use `leptos_use_is::is_some` instead."
)]
#[inline(always)]
pub fn is_some<V, T>(value: V) -> Signal<bool>
where
Option<T>: Send + Sync,
V: Into<Signal<Option<T>>>,
T: 'static,
{
::leptos_use_is::is_some::<V, T>(value)
}
}
pub mod is_none {
use leptos::prelude::*;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_is::is_none`](https://docs.rs/leptos-use-is/latest/leptos_use_is/fn.is_none.html).\n\n Add the `leptos-use-is` crate to your dependencies and use `leptos_use_is::is_none` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-is` to your dependencies and use `leptos_use_is::is_none` instead."
)]
#[inline(always)]
pub fn is_none<V, T>(value: V) -> Signal<bool>
where
Option<T>: Send + Sync,
V: Into<Signal<Option<T>>>,
T: 'static,
{
::leptos_use_is::is_none::<V, T>(value)
}
}