getResourceKey

abstract fun getResourceKey(value: T): ResourceKey<T>?

Gets the ResourceKey for the given value, or null if there is no key associated with the given value.

Return

the resource key, or null if not present

Parameters

value

the value