Is a metaphor a comparison between two unlike things that use like or as or a direct comparison that does not use like or as

Yes, a metaphor is a comparison between two unlike things that can use like or as, or a direct comparison that does not use like or as.