import type { Constructor , NonNullObject } from './utilityTypes' ; param input param constructorType export function isObject ( input , constructorType ? ) ; export function isObject < T extends Constructor < unknown > > ( input , constructorType ) ; export function isObject < T extends Constructor < unknown > = ObjectConstructor > ( input , constructorType ? ) { return typeof input === 'object' && input ? input . constructor === ( constructorType ?? Object ) : false ; }