How to query for only the joint nodes in between

How do you determine whether to use eq(dgraph.type, "Company") or type(Company)?