() (boolean): Difference between revisions

From PenguinMod Wiki
() (boolean)
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox Block
[[File:Block 5 26 2023-3 14 07 PM.png|thumb]]
|block_img=Block 5 26 2023-3 14 07 PM.png
The () block is a boolean block that turns a string into a boolean. An extra feature is that if the input is 1 it outputs true and 0 outputs false.
|block_type=Boolean Block
|category=[[Operators]]
|title=()
}}
{{Otheruses|the [[Operators]] boolean block|other uses|() (disambiguation)}}
The '''()''' block is a boolean block in the [[operators]] category that turns a string into a boolean. An extra feature is that if the input is 1 it outputs true and 0 outputs false. In other words, it reports true if the input is truthy, and false otherwise. The default value is "true".
{{DISPLAYTITLE:()}}
{{Blockcat|type=Boolean|cat=Operators}}

Latest revision as of 00:37, 30 July 2024

()
...
Caption
Block Type Boolean Block
Category / Extension Operators
Status Who tf uses status
This article is about the Operators boolean block. For other uses, see () (disambiguation).

The () block is a boolean block in the operators category that turns a string into a boolean. An extra feature is that if the input is 1 it outputs true and 0 outputs false. In other words, it reports true if the input is truthy, and false otherwise. The default value is "true".