bash keyword declare

declare [-aAfFgiIlnrtux] [-p] [name[=value] ...]
typeset [-aAfFgiIlnrtux] [-p] [name[=value] ...]

Declare variables and/or give them attributes. If
no names are given then display the values of
variables. The -p option will display the
attributes and values of each name.

The following options can be used to restrict
output to variables with the specified attribute
or to give variables attributes:

-f function(s)

declare -f

A declare -f line with no arguments in a script causes a listing of all the functions previously defined in that script.

declare -f function_name

A declare -f function_name in a script lists just the function named.