code: function (value, node) {
          /* jshint evil:true */
          /* eslint no-eval: 0 */
          return (   typeof value === "object"
                 && (   Object.prototype.toString.call(value) === "[object " + node.name + "]")
                     || eval("value instanceof " + node.name)                                  );
      }
docs: /*  validate custom JavaScript type