Skip to content

Instantly share code, notes, and snippets.

@Khaledgarbaya
Created June 19, 2014 09:33
Show Gist options
  • Save Khaledgarbaya/aa0542ac8b1e3dbf4c78 to your computer and use it in GitHub Desktop.
Save Khaledgarbaya/aa0542ac8b1e3dbf4c78 to your computer and use it in GitHub Desktop.
Check if a dictionnary is empty in actionscript 3.0
function isDictionaryEmpty(dict:Dictionary):Boolean
{
for (var key:Object in dict)
{
return false;
}
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment