Function is

Source
pub fn is<W: WidgetBase>(w: &W) -> bool
Expand description

Check whether a widget is of a certain type