I am wondering if it is possible to check the existence of a function within a script. I.e. at the moment, I have a few if's to check a value and then call a function, but was wondering if it is possible to do something like:
if[[ ${function_name}Function exists ]]
then
.....call function etc
fi
where there may be a function within the script
Is this possible?