Omit keys whose value matches V
type Obj = { a: number; b: string; c: number; d: boolean };type NonNumProps = OmitByValue<Obj, number>;// { b: string; d: boolean } Copy
type Obj = { a: number; b: string; c: number; d: boolean };type NonNumProps = OmitByValue<Obj, number>;// { b: string; d: boolean }
Omit keys whose value matches V