* Determines if the given thing is a array or js object. * * @param {string} thing - The object or array to be visited. * * @returns {boolean}
(thing)
| 17 | * @returns {boolean} |
| 18 | */ |
| 19 | function isVisitable(thing) { |
| 20 | return utils.isPlainObject(thing) || utils.isArray(thing); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * It removes the brackets from the end of a string |