typedRecordValidator

function typedRecordValidator<K, V>(keyValidator, valueValidator): (x) => x is Record<K, V>

Type parameters

Type parameter
K extends string | number | symbol
V

Parameters

ParameterType
keyValidatorValidator<K>
valueValidatorValidator<V>

Returns

Function

Parameters

ParameterType
xunknown

Returns

x is Record<K, V>