Amazon Vinyl
    Preparing search index...

    Interface GetOrSetMap<K, V>

    The minimal Map-shaped interface that getOrSet needs.

    interface GetOrSetMap<K, V> {
        get(key: K): V | undefined;
        has(key: K): boolean;
        set(key: K, value: V): unknown;
    }

    Type Parameters

    • K
    • V
    Index