Name | <ListTag.filter[<tag>]> |
Returns | ListTag |
Description | Returns a copy of the list with all its contents parsed through the given tag and only including ones that returned 'true'.
One should generally prefer ListTag.filter_tag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L2305 |
Name | <ListTag.filter_tag[<dynamic-boolean>]> |
Returns | ListTag |
Description | Returns a copy of the list with all its contents parsed through the given input tag and only including ones that returned 'true'.
This requires a fully formed tag as input, making use of the 'filter_value' definition. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ListTag.java#L2405 |