main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
554 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { Match } from '../Any/_Internal';
|
---|
| 2 | import { Select as OSelect } from '../Object/Select';
|
---|
| 3 | import { ListOf } from '../Object/ListOf';
|
---|
| 4 | import { ObjectOf } from './ObjectOf';
|
---|
| 5 | import { List } from './List';
|
---|
| 6 | /**
|
---|
| 7 | * Extract the entries of `L` that match `M`
|
---|
| 8 | * @param L to extract from
|
---|
| 9 | * @param M to select entries
|
---|
| 10 | * @param match (?=`'default'`) to change precision
|
---|
| 11 | * @returns [[List]]
|
---|
| 12 | * @example
|
---|
| 13 | * ```ts
|
---|
| 14 | * ```
|
---|
| 15 | */
|
---|
| 16 | export declare type Select<L extends List, M extends any, match extends Match = 'default'> = ListOf<OSelect<ObjectOf<L>, M, match>>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.