is not among the keys of

Typeoperator
DictionaryLCS
LibraryLiveCode Script
Syntax
<valueToFind> is not among the keys of <arrayToSearch>
Summary

Evaluates to true if the valueToFind is not an element name in the arrayToSearch.

Introduced2.9
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
valueToFind
arrayToSearch
Example
local tArray
put "World" into tArray["Hello"]
get "Foo" is not among the keys of tArray -- evaluates to true
if "text" is not among the keys of the dragData then
  exit to top
end if
RelatedOperator: is among the keys of
Description

Is not among the keys of should be used to check whether an array contains an element of a specified name.