scale-balancedComparison Operators

What are comparison operators?

Comparison operators let you compare two values. They return true or false depending on the conditions.

GenZ Keyword
Meaning
Example
Result

same vibe

Equal (==)

yo 5 same vibe 5

✅ true

not vibing

Not equal (!=)

yo 5 not vibing 3

✅ true

>

Greater than

yo 10 > 5

✅ true

>=

Greater than or equal

yo 10 >= 10

✅ true

<

Less than

yo 3 < 7

✅ true

<=

Less than or equal

yo 5 <= 5

✅ true

Examples

mood = 7

fr mood same vibe 7 ->
  yo "Perfect match ✨"
<-
nah ->
  yo "Different vibe 🚫"
<-

fr mood not vibing 10 ->
  yo "Mood mismatch 💔"
<-

fr mood > 5 ->
  yo "High vibes 🔥"
<-

Last updated