isValidEntry method

bool isValidEntry(
  1. K key,
  2. V value
)

Returns true if key is valid (in the tree).

Implementation

bool isValidEntry(K key, V value) => isInTree(key);