Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

AND Operator: Difference between revisions

From Groundhog Learning
Updated via bot
 
(No difference)

Latest revision as of 15:58, 21 October 2025

Symbol used to combine conditions and return true when both conditions are true.

Details

🤖 Pseudocode

if hasEnoughMoney AND hasInventorySpace # true if both conditions are true
    player can buy the item

Related Concepts