Tree::...oolean(3pm)

πŸ“¦
version 0.05 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Tree::XPathEngine::Boolean πŸ’–

okay bestie, welcome to the Tree::XPathEngine::Boolean page β€” it's chillin' in the User Contributed Perl Documentation manual, and it is short. Like, we're talking tiny. But it's important, so let's go 🫢


✨ NAME ✨

Tree::XPathEngine::Boolean β€” Boolean true/false values πŸŽ€


🌸 DESCRIPTION 🌸

So basically, Tree::XPathEngine::Boolean objects implement simple boolean true/false objects. That's the whole vibe. True. False. Nothing more, nothing less. Iconic minimalism fr fr πŸ’…


πŸ‘‘ API πŸ‘‘

πŸ¦‹ Tree::XPathEngine::Boolean->_true

Creates a new Boolean object with a true value. Yes queen, manifest that truth ✨

πŸ¦‹ Tree::XPathEngine::Boolean->_false

Creates a new Boolean object with a false value. No cap, sometimes it's just not it 😭

πŸ¦‹ value()

Returns true or false. That's it. That's the function. Short king behavior πŸ‘‘

πŸ¦‹ xpath_to_literal()

Returns the string "true" or "false". Note the quotes β€” we're talking literal strings here, bestie, not the boolean values themselves. Very demure, very mindful 🌈

πŸ¦‹ xpath_string_value

πŸ¦‹ xpath_cmp

πŸ¦‹ xpath_to_boolean

πŸ¦‹ xpath_to_number

ngl the manpage literally just lists these four names and then dips πŸ’€ no description, no explanation, nothing. I'm not gonna make stuff up about them because that would be lying to you and you deserve better. That's genuinely all the source says. πŸ™ˆ

that's the whole page!! short and sweet, just like this module. go forth and be boolean about it πŸ§šπŸ’œ

this page lives in perl v5.36.0, dated 2022-11-20, and that's your cute lil sign-off bestie β€” take care of yourself, hydrate, and may all your values be exactly what you expected βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from