JavaScript Verificar métodos de objetos
Object.getOwnPropertyNames()
Clumsy Cobra
Object.getOwnPropertyNames()
Object.getOwnPropertyNames(obj)
getMethods = (obj) => Object.getOwnPropertyNames(obj).filter(item => typeof obj[item] === 'function')