Performs keyof on all keys within the OriginalObject that have values matching the given Matcher.
keyof
OriginalObject
Matcher
import {ExtractKeysWithMatchingValues} from '@augment-vir/common';type ExtractedKeys = ExtractKeysWithMatchingValues<{a: RegExp; b: string}, string>;// `ExtractedKeys` is `'b'` Copy
import {ExtractKeysWithMatchingValues} from '@augment-vir/common';type ExtractedKeys = ExtractKeysWithMatchingValues<{a: RegExp; b: string}, string>;// `ExtractedKeys` is `'b'`
@augment-vir/common
Performs
keyof
on all keys within theOriginalObject
that have values matching the givenMatcher
.