Thanks to @pawan - __typename returns the GraphQL type name of the node - which might not be the same as dgraph.type.
__typename
dgraph.type