added anArray() method
updated docs
Merge pull request #22 from thedumbterminal/array-check

anArray() validator