Package: effect
Module: HashMap
This type-level utility extracts the value type V from a HashMap<K, V> type.
Example
import { HashMap } from "effect"
declare const hm: HashMap.HashMap<string, number>
// $ExpectType number
type V = HashMap.HashMap.Value<typeof hm>
Signature
type Value<T> = [T] extends [HashMap<infer _K, infer _V>] ? _V : never
Since v2.0.0