• Returns the value associated with the given key. Throws an error if the key is not present in the map.

    See

    Type Parameters

    Type Parameters

    • K

    • V

    Parameters

    • map: PickMap<K, V, "get" | "has">

      a map

    • key: K

      the queried key

    • message: string = ...

      an optional error message

    Returns V

Generated using TypeDoc