isMapOf<K, V> method

IsMapOf<K, V> isMapOf<K, V>()

Add IsMapOf validation rule.

Implementation

IsMapOf<K, V> isMapOf<K, V>() {
  return IsMapOf<K, V>()..parent = this;
}