bash get first argument

Shell
function_name () {
   echo "Parameter #1 is $1"
}
Source

Also in Shell: