tryBool method

bool? tryBool(
  1. K key
)

Returns the bool value for key, or null if absent or not a bool.

Implementation

bool? tryBool(K key) => tryGet<bool>(key);