1
0
CompleteNodeJS/notes-app/node_modules/validator/lib/util/includes.js
Jason Williams 6528d7204a Section 20
2019-08-11 12:15:16 -06:00

13 lines
264 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var includes = function includes(arr, val) {
return arr.some(function (arrVal) {
return val === arrVal;
});
};
exports.default = includes;
module.exports = exports["default"];