tryInt method

int? tryInt(
  1. K key
)

Returns the int value for key, or null if absent or not an int.

Implementation

int? tryInt(K key) => tryGet<int>(key);