Sua Pesquisa sobre como verificar se variavel é um objeto javascript? retornou: