Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES

GLM.Collection.Map.contains( key )

GLM.Collection.Map.contains( key )

Method for determining if the map contains a specific key.

Parameters:

key - The key to search for.

Returns:

True if the map contains the key, otherwise false.

Example:

var m = new GLM.Collection.Map();
m.add("name1","value1");
m.add("name2","value2");
alert( m.contains("name1") ); //alerts true



Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES