Function seed::helpers::not

source ·
pub fn not<T: Not>(predicate: T) -> T::Output
Expand description

Alternative to !.

Example

div![
   "Button",
   IF!(not(disabled) => ev(Ev::Click, Msg::Clicked)),
]