Error getting tags :
error 404Error getting tags :
error 404 is among the keys of | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
is among the keys of
Basics
Expander triangle
Type
Operator
Syntax

valueToFind is among the keys of arrayToSearch

Introduced
2.9
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Windows,Linux
Security
None required
Summary
Evaluates to true if the valueToFind is an element name in the arrayToSearch.
Examples

local tArray
put "World" into tArray["Hello"]
"Hello" is among the keys of tArray -- evaluates to true
if "text" is among the keys of the dragData then
set the text of field "Drag Target" to the dragData["text"]
end if

Additional Comments
Expander triangle

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

Parameters:

The valueToFind is a string or an expression that evaluates to a string.

The arrayToSearch is an array.

User Comments
Expander triangle