blob: 26897d93d26575a2021d454ae0240640adb01a81 [file] [log] [blame]
/* @flow */
"use strict";
const _ = require("lodash");
const validateObjectWithArrayProps = require("./validateObjectWithArrayProps");
/**
* Check whether the variable is an object and all it's properties are arrays of string values:
*
* ignoreProperties = {
* value1: ["item11", "item12", "item13"],
* value2: ["item21", "item22", "item23"],
* value3: ["item31", "item32", "item33"],
* }
*/
module.exports = validateObjectWithArrayProps(_.isString);