There are two ways to check the loaded functions in a Bash instance:
Use the declare command. The declare command lists all of the variables and functions that are currently defined in the Bash session. To list only the loaded functions, you can use the following command:
declare -f
This will list all of the functions that are currently loaded in the Bash session, along with their definitions.
Use the type command. The type command tells you the type of an object. To check if an object is a function, you can use the following command:
type function_name
This will return the word function if the object is a function, or the word undefined if the object is not a function.
Here are some examples of how to use these commands to check the loaded functions in a Bash instance:
# List all of the loaded functions
declare -f
# Check if a specific function is loaded
type function_name