UNPKG

doff

Version:

A powerful tool to free your objects and arrays from unwanted content

14 lines (9 loc) 282 B
'use strict'; // Load modules const enumerableKeys = require('./enumerableKeys'); // Define exports module.exports = function isDeep(object, symbols = false) { return typeof object === 'object' && object !== null && Boolean(enumerableKeys(object, symbols).length); };