"use strict"; const matchValidationError = require("./"); const ValidationError = require("@validatem/error"); let error = new ValidationError("Must be a valid thing"); let notAnError = 42; console.log(matchValidationError(error)); // true console.log(matchValidationError(notAnError)); // false