"use strict"; const ValidationError = require("@validatem/error"); const isString = require("./is-string"); module.exports = function (value) { if (!isString(value)) { return new ValidationError("Must be a string", { code: "validatem.is-string" }); } };