Displaying currently defined variables

The command typeset without any arguments displays the currently defined variables and their attributes. The variation:
typeset -x
displays all the variables currently defined for export.