Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 | 146x 146x 9x | import isRecord from './isRecord'; export default function isRecordContainingKey<TKey extends string, TValue>( record: unknown, key: TKey ): record is Record<TKey, TValue> { return isRecord(record) && key in record; } |