UR::Bo...etween(3pm)

πŸ“¦
version 0.470 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

UR::BoolExpr::Template::PropertyComparison::NotBetween β€” bestie, this one runs a 'not between' test ✨

It lives under the UR::BoolExpr::Template::PropertyComparison umbrella (iykyk), and yeah, the header is out here truncating it to UR::Bo...etween because Perl manpages love a dramatic entrance πŸ™ˆ


🌸 DESCRIPTION 🌸

Okay so here's the vibe check πŸ‘‘ β€” this comparison evaluates to true if the property's value is not between the lower bound and the upper bound, inclusive. Like, both endpoints count as "between", so if your value is sitting exactly on the lower or upper bound, it is between, and this test says no πŸ’…

Inclusive is doing a LOT of heavy lifting here, bestie. Don't skip it. πŸŽ€

And then there's the plot twist πŸ¦‹ β€” if the property returns multiple values, this comparison returns true if any of the values are outside the bounds. Not all of them. Not most of them. Any single one breaking out of the range is enough to make the whole thing true, periodt πŸ”₯

So the mental model is: one rebel value outside the bounds and the whole comparison is popping off 😭


perl v5.32.1 🫢 2022-01-17 β€” mwah, that's the version and date, love u, go read the other UR::BoolExpr::Template::PropertyComparison::* pages, they're all in the same friend group 🌈✨

πŸ“¦ where this page comes from