lookupEntityId

@NotNull
abstract fun lookupEntityId(@NotNull entity: @NotNull Entity): @NotNull Identifier(source)

Finds the ID of the given entity in the registry.

Parameters

entity

The entity instance to look up