How does DQL judge whether a predicate has duplicate values in dgraph?

I think I should rephrase. It doesn’t have a Set datatype in the surface language (DQL or Graphql). For details I’d ping @pawan .