]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/helpers/custom-validators/misc.js
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