XML::XP...:Boolean(3)

✨ NAME ✨

okay bestie, welcome to the XML::XPathEngine::Boolean(3) page from the User Contributed Perl Documentation. This one is Boolean true/false values β€” yes, the name is literally XML::XPathEngine::Boolean and the vibe is true/false. That's the assignment, periodt. πŸ’…

πŸ’– DESCRIPTION πŸ’–

So the XML::XPathEngine::Boolean objects implement simple boolean true/false objects. Lowkey iconic, highkey minimal: just true or false, no extra side quests, no drama. ✨

πŸ› οΈ API πŸ› οΈ

Here's the whole tiny squad of methods, bestie β€” each one is a little main character. πŸ‘‘

🌟 XML::XPathEngine::Boolean->True 🌟

Makes a brand-new Boolean object with a true value. It's giving "yes bestie, absolutely, true vibes only." βœ…

πŸ’€ XML::XPathEngine::Boolean->False πŸ’€

Makes a fresh Boolean object with a false value. It's giving "no, nope, not today" energy. πŸ™…β€β™€οΈ

πŸŽ€ value() πŸŽ€

Returns true or false. That's the whole function β€” no plot twist, just the answer. πŸ”

πŸ¦‹ to_literal() πŸ¦‹

Hands back the string "true" or the string "false". Literally those exact string values, slay. πŸͺ„


mwah πŸ’‹ β€” this iconic little page is from perl v5.42.0, dated 2013-06-04. byeee 🫢

πŸ“¦ where this page comes from