value in map()

This function checks if the value a can be found in map b.

Note: Please note that you can also check for "hidden values". To get a return value "true", the compare value has to be an identical "hidden value". See the explanations for the Empty Flag.

Parameters


Parameter

Description

a

Value to look for in the map.

b

(optional) Name of the map. Default: "default".


Examples


Defined is a map "myMap" containing the elements {key1=val1, key2=val2, key3=val3}.


Parameter a

Parameter b

Result

val2

myMap

true

val4

myMap

false

val2

myOtherMap

false