luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
use crate::enums::polarity::Polarity;

pub fn is_negative(p: Polarity) -> bool {
    (p as u8 & Polarity::Negative as u8) != 0
}