testing whether a list item has a value

is it possible to test whether a list item has a value (or rather whether it’s value is empty) with a conditional?

not really, but it was enough for me to be able to work out what i wanted so thanks :slight_smile:

for example

set myList to {β€œhi”, β€œlo”, β€œwoo”, β€œβ€, β€œgrr”}
set x to β€œ4”
if item x of myList = β€œβ€ then
display dialog β€œw00t”
else
display dialog β€œw00t2”
end if