Libraries anvil runtime Type getDeclarations

array getDeclarations()
array getDeclarations(string type)
array getDeclarations(int type)
Returns array of declarations contained in this type. Declarations are mapped to array their names.
Parameters type -  Optional parameter restricting returned declarations to be of given type.