luaur-analysis 0.1.1

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
use crate::records::property_type::Property;

impl Property {
    pub fn is_shared(&self) -> bool {
        self.read_ty.is_some() && self.write_ty.is_some() && self.read_ty == self.write_ty
    }
}