Filter an array or arguments by JavaScript native type (e.g. functions, strings, etc).