Returns true
if the value's type is the given type.
Also compatible with any Validator
.
isType = require "isType"
isType 0, Number # => true
isType [], Array # => true
isType null, Null # => true
isType true, [ Boolean, Void ] # => true