Skip to main content

fits

Function fits 

Source
pub fn fits(value: &Value, ty: &Type) -> bool
Expand description

Whether value is one of the type ty, as the host reads it into a widget: text shows any value as text, a whole number is a number, an Option holds nothing or a value.