17 lines
246 B
JavaScript
17 lines
246 B
JavaScript
|
'use strict';
|
||
|
|
||
|
/*!
|
||
|
* ignore
|
||
|
*/
|
||
|
|
||
|
module.exports = function(obj) {
|
||
|
const keys = Object.keys(obj);
|
||
|
const len = keys.length;
|
||
|
for (let i = 0; i < len; ++i) {
|
||
|
if (keys[i].charAt(0) === '$') {
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
return false;
|
||
|
};
|