The method can be used to exclude keys from an instance of type E.
E
We can use this to exclude values when searching an object.
An instance of type E
The keys to exclude
todo = { id: '1', description: 'Do it!' }let keys = excludeKeys<Todo>(todo, ['id]);// keys = ['description'] Copy
todo = { id: '1', description: 'Do it!' }let keys = excludeKeys<Todo>(todo, ['id]);// keys = ['description']
Generated using TypeDoc
The method can be used to exclude keys from an instance of type
E
.We can use this to exclude values when searching an object.