- filterObject<O, R>(object, predicate): R
Type Parameters
- O extends object
- R extends object
Parameters
- object: O
- predicate: ((key: keyof O, value: O[keyof O]) => boolean)
- (key, value): boolean
Parameters
- key: keyof O
- value: O[keyof O]
Returns boolean
Returns R