| var _isArrayLike = require('./_isArrayLike.js'); | |
| var values = require('./values.js'); | |
| var indexOf = require('./indexOf.js'); | |
| // Determine if the array or object contains a given item (using `===`). | |
| function contains(obj, item, fromIndex, guard) { | |
| if (!_isArrayLike(obj)) obj = values(obj); | |
| if (typeof fromIndex != 'number' || guard) fromIndex = 0; | |
| return indexOf(obj, item, fromIndex) >= 0; | |
| } | |
| module.exports = contains; | |
Xet Storage Details
- Size:
- 428 Bytes
- Xet hash:
- e35a6b6eb64d5318fef51d640d2c992c74f238a5bc34a2d3db2d3be74783546d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.