added valueCheck function to arrayOf check type. extended demo with emailArray accordingly
new version