Skip to main content

luaur_analysis/methods/
property_is_shared.rs

1use crate::records::property_type::Property;
2
3impl Property {
4    pub fn is_shared(&self) -> bool {
5        self.read_ty.is_some() && self.write_ty.is_some() && self.read_ty == self.write_ty
6    }
7}