12345678910111213141516171819 |
- 'use strict';
- /*!
- * ignore
- */
- module.exports = function(obj) {
- if (obj == null || typeof obj !== 'object') {
- return false;
- }
- const keys = Object.keys(obj);
- const len = keys.length;
- for (let i = 0; i < len; ++i) {
- if (keys[i].startsWith('$')) {
- return true;
- }
- }
- return false;
- };
|