Bash function to find out if variable unset or not

How do I check if a bash shell variable called $input is defined or not under BSD / Apple OS X / Unix / Linux like operating systems?

{ 4 comments }