datget

This returns attribute values or attribute keys.

datget datId ?key?

If you do not specify a key, then the object's attribute keys are returned.

If you specify a key, then that attribute's value is returned.