pub fn is<P: 'static>(&self, key: &str) -> bool {
        if let Ok(is_type) = self.ecm.component_store().is::<P>(key, self.current_node) {
            return is_type;
        }

        false
    }
/// Check if the given type is the type of the property. If the property is not part of the widget `None` will be returned.
Check if the given type is the type of the property. If the property is not part of the widget `None` will be returned.
Check if the given type is the type of the property . If the property is not part of the widget ` None ` will be returned .
pub fn is<P: 'static>(&self, key: &str) -> bool {
        if let Ok(is_type) = self.ecm.component_store().is::<P>(key, self.current_node) {
            return is_type;
        }
        false
    }
pub fn is < P : ' static > ( & self , key : & str ) -> bool { if let Ok ( is_type ) = self . ecm . component_store ( ) . is :: < P > ( key , self . current_node ) { return is_type ; } false }
Check if the given type is the type of the property.
Check if the given type is the type of the property .
&self
key
&str