"use strict"; const ValidationError = require("@validatem/error"); module.exports = function (value) { // TODO: Verify whether this check needs to be changed to support cross-realm arrays if (!Array.isArray(value)) { throw new ValidationError(`Must be an array`); } };