main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
392 bytes
|
Line | |
---|
1 | import { KeySet } from './KeySet';
|
---|
2 | import { Pick } from './Pick';
|
---|
3 | import { List } from './List';
|
---|
4 | /**
|
---|
5 | * Pick a range of entries (portion) from `L`
|
---|
6 | * @param L to pick from
|
---|
7 | * @param From to start with
|
---|
8 | * @param To to end with
|
---|
9 | * @returns [[List]]
|
---|
10 | * @example
|
---|
11 | * ```ts
|
---|
12 | * ```
|
---|
13 | */
|
---|
14 | export declare type Extract<L extends List, From extends number, To extends number> = Pick<L, KeySet<From, To>>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.