source: frontend/node_modules/underscore/amd/_has.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 237 bytes
Line 
1define(['./_setup'], function (_setup) {
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 return has;
9
10});
Note: See TracBrowser for help on using the repository browser.