J.R. S. answered 10/19/19
Ph.D. University Professor with 10+ years Tutoring Experience
A caveat before any explanation is that most compounds (other than those that are completely non polar) are neither 100% ionic nor 100% covalent. Even NaF is only about 88% ionic, whereas H2 is 0%
ionic. Having stated that, the answer to your question will depend on the nature of the compound in question. For example, Na3PO4 has 3 different types of elements. It is mostly ionic because it dissociates into 3Na+ and a PO43- ion. It can be viewed as a product of an acid (H3PO4) and a base (NaOH) producing a salt. In these instances, the compound will be mostly ionic. If you consider something like urea (NH2CONH2) having 4 different types of atoms, it is considered covalent as it does not form ions when in solution. Not sure this totally answers your question, but if you submit specific examples, it may be easier to explain their category.

J.R. S.
10/20/19
I. Y.
Thanks this helped alot!10/20/19