#How to check for the nth value of an object existing using /execute if data

1 messages · Page 1 of 1 (latest)

red lily
#

^

short dragonBOT
quaint moth
#

Can you provide a little bit of context? Other than just pointing to the title?

red lily
#

My english isn't that good but I'll try to explain the best as I can so appologies for any confusion.

#

I want to check for the existance of the first string of this storage for example {"life","picnic","ocean"}

leaden stump
#

I assume you mean ["life","picnic","ocean"]?

#

And what exactly does nth in your case mean. You can always copy your list and just check all entries using recursion.

brave ore
#

i dont think you can

#

objects are not arrays