"use strict" ; returns export function isObject ( obj ) { return typeof obj === "object" && obj !== null && ! Array . isArray ( obj ) && ! ( obj instanceof RegExp ) && ! ( obj instanceof Date ) ; } const hasOwnProperty = Object . prototype . hasOwnProperty ; returns export function isEmptyObject ( obj ) { if ( ! isObject ( obj ) ) { return false ; } for ( const key in obj ) { if ( hasOwnProperty . call ( obj , key ) ) { return false ; } } return true ; }