util.isObject(object)
Stability: 0 - Deprecated
Returns true
if the given "object" is strictly an Object
and not a Function
. Otherwise, returns false
.
const util = require('util'); util.isObject(5) // false util.isObject(null) // false util.isObject({}) // true util.isObject(function(){}) // false
Please login to continue.