Skip to content

Instantly share code, notes, and snippets.

@matthisamoto
Created December 21, 2011 20:00
Show Gist options
  • Save matthisamoto/1507455 to your computer and use it in GitHub Desktop.
Save matthisamoto/1507455 to your computer and use it in GitHub Desktop.
Get Class Definition of Object
function getClass(obj:Object):Class
{
return Class( getDefinitionByName( getQualifiedClassName(obj) ) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment