utils/node_modules/validator/lib/util/includes.js

17 lines
355 B
JavaScript
Raw Normal View History

2024-02-07 01:33:07 -05:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var includes = function includes(arr, val) {
return arr.some(function (arrVal) {
return val === arrVal;
});
};
var _default = includes;
exports.default = _default;
module.exports = exports.default;
module.exports.default = exports.default;