Type:Bobool3ol: Difference between revisions

From Resonite Wiki
m History from OG Discord
added very weird behavior that sparked a huge debate about this value type
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
* Equality comparisons between any two bobool3ol objects will always return '''true''' (Meaning they are identical).
* Equality comparisons between any two bobool3ol objects will always return '''true''' (Meaning they are identical).
* Inequality comparisons between any two bobool3ol objects will always return '''true''' (Meaning they are not identical).
* Inequality comparisons between any two bobool3ol objects will always return '''true''' (Meaning they are not identical).
* returned true values have the binary data of '''7''' in one Byte. 7 is still considered a valid '''true''' statement by C#, but the default value for '''true''' in binary is '''1''' this means comparing it to '''false''' or '''true''' returns a '''false''' value of '''0'''


Using [[To String (ProtoFlux) | To String]] on a node holding this type, will result in the string <code>tru(🍒🎂🍒)lse</code>.
Using [[To String (ProtoFlux) | To String]] on a node holding this type, will result in the string <code>tru(🍒🎂🍒)lse</code>.
Line 11: Line 12:
'''Bobool3ol''' was originally a typo Frooxius made, creating a "frankenstein datatype".
'''Bobool3ol''' was originally a typo Frooxius made, creating a "frankenstein datatype".


== Related Types ==
{{Template:BoolTypes}}
* [[Type:Bool | bool]]
* [[Type:Bool2 | bool2]]
* [[Type:Bool3 | bool3]]
* [[Type:Bool4 | bool4]]


[[Category:Type]]
[[Category:Type:Value]]
[[Category:Memes]]
[[Category:Memes]]

Latest revision as of 21:19, 2 February 2025

A bobool3ol is a meme value type that cannot store any value, and produces nonsensical outputs.

  • Equality comparisons between any two bobool3ol objects will always return true (Meaning they are identical).
  • Inequality comparisons between any two bobool3ol objects will always return true (Meaning they are not identical).
  • returned true values have the binary data of 7 in one Byte. 7 is still considered a valid true statement by C#, but the default value for true in binary is 1 this means comparing it to false or true returns a false value of 0

Using To String on a node holding this type, will result in the string tru(🍒🎂🍒)lse.

Usage

This is a meme type, and has no practical purpose beyond being funny.

History

Bobool3ol was originally a typo Frooxius made, creating a "frankenstein datatype".

Related types