source:
frontend/node_modules/underscore/cjs/_has.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 228 bytes | |
| Line | |
|---|---|
| 1 | var _setup = require('./_setup.js'); |
| 2 | |
| 3 | // Internal function to check whether `key` is an own property name of `obj`. |
| 4 | function has(obj, key) { |
| 5 | return obj != null && _setup.hasOwnProperty.call(obj, key); |
| 6 | } |
| 7 | |
| 8 | module.exports = has; |
Note:
See TracBrowser
for help on using the repository browser.
