# How to know the properties of an object?

Consider the following

{m,a#}::Indices.
R_{a1 a2 a3 a4}::RiemannTensor.


Is there a command that returns the property or lists of properties of an object?, e.g. assuming the function is called what_is

what_is(m);


$$\mathrm{Index}$$

what_is(R_{a1 a2 a3 a4});


$$\text{RiemannTensor}$$

p = RiemannTensor.get($R_{a1 a2 a3 a4}$)

will set p to the corresponding RiemannTensor object (which, since it derives from TableauSymmetry, has methods such as get_tab, is_simple_symmetry etc...). If there is no associated property then None is returned.