KeysNotMatching¶
Overview¶
Type KeysNotMatching¶
Finds keys of an object that do not match a specific type, see
For instance, KeysMatching<{ foo: number; x: string; k: number; }, number> will be 'x'
@author Jonathan Olson <jonathan.olson@colorado.edu>
{ [K in keyof T]-?: T[K] extends V ? never : K }[keyof T]
Source Code¶
See the source for KeysNotMatching.ts in the phet-core repository.