utils/node_modules/validator/es/lib/util/includes.js
2024-02-07 01:33:07 -05:00

7 lines
144 B
JavaScript

var includes = function includes(arr, val) {
return arr.some(function (arrVal) {
return val === arrVal;
});
};
export default includes;