isguard-ts
    Preparing search index...

    Type Alias PartialRecordTypeGuard<K, V>

    PartialRecordTypeGuard: TypeTypeGuard<Partial<Record<K[number], V>>> & {
        isValue: TypeGuard<V>;
        keys: K;
    }

    A TypeGuard for Partial<Record<K, V>>.

    Returned by isPartialRecord.

    Type Parameters

    • K extends readonly PropertyKey[]

      Array of keys for the record

    • V

      The value type for all keys

    Type Declaration

    • isValue: TypeGuard<V>

      The type guard used for validating record values

    • keys: K

      The array of keys that may be present in the record