Skip to main content

luaur_analysis/functions/
is_negative.rs

1use crate::enums::polarity::Polarity;
2
3pub fn is_negative(p: Polarity) -> bool {
4    (p as u8 & Polarity::Negative as u8) != 0
5}