3 const miscValidators = {
8 function exists (value) {
9 return value !== undefined && value !== null
12 function isArray (value) {
13 return Array.isArray(value)
16 // ---------------------------------------------------------------------------
18 module.exports = miscValidators