Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES

GLM.Collection.Map.length()

GLM.Collection.Map.length()

Method for returning the count of items in the map.

Returns:

The count of items in the map.

Example:

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



Overview | IndexGodLikeMouse AJAX JavaScript Framework 2.5
FRAMES | NO FRAMES