how do I check the `value` is of type `T`? ```over...
# getting-started
d
how do I check the
value
is of type
T
?
Copy code
override fun <T> get(key: String): T? {
    val value = map[key] ?: return null

    if (value is T) {
      return value
    }

    return null
  }