rambdax
Version:
Extended version of Rambda - a lightweight, faster alternative to Ramda
18 lines (16 loc) • 483 B
text/typescript
import {Match} from '../Any/_Internal'
import {SelectKeys as OSelectKeys} from '../Object/SelectKeys'
import {ObjectOf} from './ObjectOf'
import {List} from './List'
/**
Get the keys of `L` which entries match `M`
```ts
```
*/
export type SelectKeys<L extends List, M extends any, match extends Match = 'default'> =
OSelectKeys<ObjectOf<L>, M, match>