Niek Knijnenburg

association containsKey

Discussion created by Niek Knijnenburg on May 31, 2012
Latest reply on May 31, 2012 by Niek Knijnenburg

Is there a method like containsKey on an association?

Or do I need to do:

 

if (oneAssociation["key1"] is not null)then ...

now I end up with:

if ( oneAssociation["key1"] is not null and anotherAssociation["key2"] is not null and oneAssociation["key1"] = anotherAssociation["key2"])then {

 

 

Or is there a better way?

Outcomes