📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-29 11:59:05
📂
/ (Root)
/
home
/
orkouolp
/
nodevenv
/
node_js
/
orkofarms.com
/
18
/
lib
/
node_modules
/
underscore
/
modules
📍 /home/orkouolp/nodevenv/node_js/orkofarms.com/18/lib/node_modules/underscore/modules
🔄 Refresh
✏️
Editing: contains.js
Writable
import isArrayLike from './_isArrayLike.js'; import values from './values.js'; import indexOf from './indexOf.js'; // Determine if the array or object contains a given item (using `===`). export default 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; }
💾 Save Changes
❌ Cancel