A small module that checks any data type: Object, Array, String, Boolean, Number and tests it against a validation function. It works recursively on Arrays and Objects to any depth.