I want to check function arguments, and check whether $2 and $3 are numeric
Is the following line the way to use the AND statement? Am I using = the correct way to check for numeric digits?
if [[ "$2" = +([[:digit:]]) ]] && [[ "$3" = +([[:digit:]]) ]]; then