17 lines
244 B
JavaScript
Raw Normal View History

2019-02-01 14:06:44 +01:00
'use strict';
/*!
* ignore
*/
module.exports = function(obj) {
const keys = Object.keys(obj);
const len = keys.length;
for (let i = 0; i < len; ++i) {
2019-07-02 16:05:15 +02:00
if (keys[i].startsWith('$')) {
2019-02-01 14:06:44 +01:00
return true;
}
}
return false;
};