getName

fun getName(entity: Entity): String?

Gets the name label for the given entity, or null if it has none.