|
|
|
@ -8,7 +8,6 @@ const { validateArguments, validateValue } = require("@validatem/core");
|
|
|
|
|
const isArray = require("@validatem/is-array");
|
|
|
|
|
const isPlainObject = require("@validatem/is-plain-object");
|
|
|
|
|
const defaultTo = require("@validatem/default-to");
|
|
|
|
|
const hasLengthOf = require("@validatem/has-length-of");
|
|
|
|
|
const removeNullishItems = require("@validatem/remove-nullish-items");
|
|
|
|
|
const virtualProperty = require("@validatem/virtual-property");
|
|
|
|
|
const wrapPath = require("@validatem/wrap-path");
|
|
|
|
@ -105,8 +104,7 @@ module.exports = {
|
|
|
|
|
let [ items ] = validateArguments(arguments, [
|
|
|
|
|
[ "items", [
|
|
|
|
|
isArray,
|
|
|
|
|
removeNullishItems,
|
|
|
|
|
hasLengthOf(2)
|
|
|
|
|
removeNullishItems
|
|
|
|
|
]]
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|