core / pragma.playerdata / PlayerDataSnapshot / getUniqueEntity /

getUniqueEntity #

fun getUniqueEntity(name: String): Entity?

Will throw a pragma.ApplicationErrorException if there are multiple entities assigned the provided name.