Item () exists in (): Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content deleted Content added
Created page with "thumb|493x493px The item exists in list block is a boolean block that detects if a list has a list number, if it doesn't have as much as the number then it would be false."
 
No edit summary
Line 1: Line 1:
[[File:Block 6 5 2023-4 12 42 PM.png|thumb|493x493px]]
[[File:Block 6 5 2023-4 12 42 PM.png|thumb|493x493px]]
The item exists in list block is a boolean block that detects if a list has a list number, if it doesn't have as much as the number then it would be false.
The item exists in list block is a boolean block that detects if a list has a list number, if it doesn't have as much as the number then it would be false.
==Workarounds==
This block can be worked around by checking if the item is blank. However, this will not work correctly if the item does exist, but is just an empty string.

Another alternative is checking if the number of items in the list is less than the number given.
[[Category:Boolean Blocks]]
[[Category:List Blocks]]

Revision as of 18:59, 12 November 2023

The item exists in list block is a boolean block that detects if a list has a list number, if it doesn't have as much as the number then it would be false.

Workarounds

This block can be worked around by checking if the item is blank. However, this will not work correctly if the item does exist, but is just an empty string.

Another alternative is checking if the number of items in the list is less than the number given.