UNPKG

337 BTypeScriptView Raw
1import type { Maybe } from "./null.js";
2/**
3 * @param K - key type
4 * @param V - value type
5 */
6export interface IGet<K, V> {
7 get(key: K, notfound?: V): Maybe<V>;
8}
9/**
10 * @param K - key type
11 * @param V - value type
12 */
13export interface IGetIn<K, V> {
14 getIn(key: K[], notfound?: V): Maybe<V>;
15}
16//# sourceMappingURL=get.d.ts.map
\No newline at end of file