getKey

fun ItemStack.getKey(namespacedKey: NamespacedKey): String?(source)