rambdax
Version:
Extended version of Rambda - a lightweight, faster alternative to Ramda
19 lines (17 loc) • 569 B
text/typescript
import {ExcludeKeys as OExcludeKeys} from '../Object/ExcludeKeys'
import {Match} from '../Any/_Internal'
import {ObjectOf} from './ObjectOf'
import {List} from './List'
/**
Exclude the keys of `L1` out of the keys of `L`
(If `match = 'default'`, no type checks are done)
```ts
```
*/
export type ExcludeKeys<L extends List, L1 extends List, match extends Match = 'default'> =
OExcludeKeys<ObjectOf<L>, ObjectOf<L1>, match>