Exists for lists and lines

This commit is contained in:
2025-08-30 10:50:19 +10:00
parent 0eb5670dfd
commit 8d80416c5c
3 changed files with 47 additions and 11 deletions

20
tests/exists.grnd Normal file
View File

@@ -0,0 +1,20 @@
set &testVar "dingus"
exists &testVar &exist
stdlnout $exist
setlist *myList "item"
exists *myList &exist
stdlnout $exist
@dingus
exists %dingus &exist
stdlnout $exist
exists &doesNotExist &exist
stdlnout $exist
exists *doesNotExist &exist
stdlnout $exist
exists %doesNotExist &exist
stdlnout $exist