In order to make the syntax for one of my functions nicer, I need to be able to tell whether a specific parameter is an array or \"hash\" (which I know are just objects).
Check for the length property:
length
"length" in {foo:"bar"} //false "length" in ["foo","bar"] //true