isguard-ts
    Preparing search index...

    Type Alias MapTypeGuard<K, V>

    MapTypeGuard: TypeGuard<Map<K, V>> & {
        isKey: TypeGuard<K>;
        isValue: TypeGuard<V>;
    }

    A TypeGuard for Map<K, V>.

    Returned by isMap.

    Type Parameters

    • K

      The type of keys in the map

    • V

      The type of values in the map

    Type Declaration

    • isKey: TypeGuard<K>

      The type guard used for validating map keys

    • isValue: TypeGuard<V>

      The type guard used for validating map values